chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
9243a74
)
Merge branch 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 9 Feb 2016 18:45:17 +0000
(18:45 +0000)
committer
Mark Wooding
<mdw@distorted.org.uk>
Tue, 9 Feb 2016 18:45:17 +0000
(18:45 +0000)
* 'master' of git.distorted.org.uk:~mdw/publish/public-git/profile:
el/dot-emacs.el: Make `tab' key more useful in TeX modes.
el/dot-emacs.el
patch
|
blob
|
blame
|
history
diff --git
a/el/dot-emacs.el
b/el/dot-emacs.el
index b1b901bd6211e6d1fb167b96171658a8d2d81a05..4286f7378ac83adebe37fa458763dde4510eb11e 100644
(file)
--- a/
el/dot-emacs.el
+++ b/
el/dot-emacs.el
@@
-2739,6
+2739,10
@@
(defun mdw-fontify-tex ()
(modify-syntax-entry ?$ "." font-lock-syntax-table)
(local-set-key [?$] 'self-insert-command)
+ ;; Make `tab' be useful, given that tab stops in TeX don't work well.
+ (local-set-key "\C-i" 'indent-relative)
+ (setq indent-tabs-mode nil)
+
;; Set fill prefix.
(mdw-standard-fill-prefix "\\([ \t]*%+[ \t]*\\)")