Emacs: Turn on indent-tab-mods for tex-mode
parent
e5bd09dc2a
commit
9053985f71
|
@ -119,6 +119,10 @@ This does not interfere with `subword-mode'."
|
||||||
(add-hook-and-eval
|
(add-hook-and-eval
|
||||||
'tex-mode-hook
|
'tex-mode-hook
|
||||||
(lambda ()
|
(lambda ()
|
||||||
|
;; `tex-mode' sets `indent-tabs-mode' to nil, invoking the following
|
||||||
|
;; argument: "TABs in verbatim environments don't do what you think." Not
|
||||||
|
;; sure how relevant this bad comment is. We revert it.
|
||||||
|
(setq indent-tabs-mode t)
|
||||||
(dolist (key '("\C-c\C-f" "\C-c\C-b"))
|
(dolist (key '("\C-c\C-f" "\C-c\C-b"))
|
||||||
(local-unset-key key))
|
(local-unset-key key))
|
||||||
(set-face-attribute 'tex-verbatim nil :family "freemono")
|
(set-face-attribute 'tex-verbatim nil :family "freemono")
|
||||||
|
|
Loading…
Reference in New Issue