From: Don Armstrong Date: Tue, 14 Aug 2007 03:45:27 +0000 (+0000) Subject: add latex style hooks X-Git-Url: https://git.donarmstrong.com/?p=home-base.git;a=commitdiff_plain;h=78db66f0faf65b5f82aa7424beefef04360a0efd add latex style hooks --- diff --git a/.emacs b/.emacs index ab1eecb..56b0244 100644 --- a/.emacs +++ b/.emacs @@ -124,6 +124,17 @@ (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)))) +)