]> git.donarmstrong.com Git - lib.git/commitdiff
latex-fill-excluded should happen after latex is loaded
authorDon Armstrong <don@donarmstrong.com>
Fri, 22 Sep 2017 21:03:42 +0000 (14:03 -0700)
committerDon Armstrong <don@donarmstrong.com>
Fri, 22 Sep 2017 21:03:42 +0000 (14:03 -0700)
emacs_el/configuration/don-configuration.org

index a381e381981eda449cd8e5eda037a9ac53659895..5582b74c3786706207b2410d9fe974cf786cc432 100644 (file)
@@ -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