From efe5fdadc4a88f9188962952c569fcfb22647025 Mon Sep 17 00:00:00 2001 From: Don Armstrong Date: Fri, 22 Sep 2017 14:03:42 -0700 Subject: [PATCH] latex-fill-excluded should happen after latex is loaded --- emacs_el/configuration/don-configuration.org | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/emacs_el/configuration/don-configuration.org b/emacs_el/configuration/don-configuration.org index a381e38..5582b74 100644 --- a/emacs_el/configuration/don-configuration.org +++ b/emacs_el/configuration/don-configuration.org @@ -397,9 +397,7 @@ value, scrolling continues until there is no more output. :defer t :ensure auctex :config - (add-to-list 'LaTeX-fill-excluded-macros - '("Sexpr")) - (add-to-list 'TeX-style-path '"/home/don/lib/emacs_el/auctex/style") + ; (add-to-list 'TeX-style-path '"/home/don/lib/emacs_el/auctex/style") ;; REFTEX (much enhanced management of cross-ref, labels, etc) ;; http://www.strw.leidenuniv.nl/~dominik/Tools/reftex/ ; (autoload 'reftex-mode "reftex" "RefTeX Minor Mode" t) @@ -465,6 +463,10 @@ value, scrolling continues until there is no more output. '("Cref" TeX-arg-ref) '("cpageref" TeX-arg-ref) '("Cpageref" TeX-arg-ref))))) + (eval-after-load + "latex" + '(add-to-list 'LaTeX-fill-excluded-macros + '("Sexpr"))) (use-package font-latex :config -- 2.39.2