emacs: Don't explicitly set TeX-master any more.
authorMark Wooding <mdw@distorted.org.uk>
Wed, 8 Oct 2008 12:30:23 +0000 (13:30 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Wed, 8 Oct 2008 12:30:23 +0000 (13:30 +0100)
If we do this, then newer Emacsen seem to think that TeX-master is
evil as a local variable and complain when visiting .tex files.

Also remove some old crufty TeX settings.

emacs

diff --git a/emacs b/emacs
index 8abc4af..1e9bdc9 100644 (file)
--- a/emacs
+++ b/emacs
 (add-hook 'TeXinfo-mode-hook 'mdw-fontify-texinfo t)
 
 (setq LaTeX-table-label "tbl:")
 (add-hook 'TeXinfo-mode-hook 'mdw-fontify-texinfo t)
 
 (setq LaTeX-table-label "tbl:")
-(setq-default TeX-master nil)
-;; (setq TeX-parse-self t)
-;; (setq TeX-auto-save t)
 (setq TeX-auto-untabify nil)
 (add-hook 'TeX-mode-hook 'mdw-fontify-tex t)
 (add-hook 'tex-mode-hook 'mdw-fontify-tex t)
 (setq TeX-auto-untabify nil)
 (add-hook 'TeX-mode-hook 'mdw-fontify-tex t)
 (add-hook 'tex-mode-hook 'mdw-fontify-tex t)