add latex style hooks
authorDon Armstrong <don@donarmstrong.com>
Tue, 14 Aug 2007 03:45:27 +0000 (03:45 +0000)
committerDon Armstrong <don@donarmstrong.com>
Tue, 14 Aug 2007 03:45:27 +0000 (03:45 +0000)
.emacs

diff --git a/.emacs b/.emacs
index ab1eecb..56b0244 100644 (file)
--- a/.emacs
+++ b/.emacs
 (add-hook 'LaTeX-mode-hook 'outline-minor-mode)   ; with AUCTeX LaTeX mode
 (add-hook 'latex-mode-hook 'outline-minor-mode)   ; with Emacs latex mode
 
+(TeX-add-style-hook
+ "latex"
+ (lambda ()
+   (TeX-add-symbols
+    '("DLA" 1))))
+(custom-set-variables
+ '(font-latex-user-keyword-classes 
+   '(("fixme" 
+      ("DLA" "RZ")
+      font-lock-function-name-face 2 (command 1 t))))
+)