summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-03-15 16:23:04 +0800
committerJSDurand <mmemmew@gmail.com>2021-03-15 16:23:04 +0800
commit577a13180a8bff2ad53066fa8b148212add35d21 (patch)
tree6a217cf560d00ac0b69a368d7f336922434756ad
parenta13525e33734c217910175e53a55602757e85d51 (diff)
Stylistic changes
* tex-conf.el ("/usr/local/share/emacs/site-lisp/auctex/tex.el"): ("/usr/local/share/emacs/site-lisp/auctex/latex.el"): Load the files explicitly.
-rw-r--r--tex-conf.el10
1 files changed, 4 insertions, 6 deletions
diff --git a/tex-conf.el b/tex-conf.el
index be0ad34..fdd93af 100644
--- a/tex-conf.el
+++ b/tex-conf.el
@@ -70,6 +70,8 @@
;;; Correlate
+(load "/usr/local/share/emacs/site-lisp/auctex/tex.el" nil t)
+
(setq TeX-source-correlate-start-server t)
(TeX-source-correlate-mode 1)
@@ -79,6 +81,8 @@
;;; Dollars
+(load "/usr/local/share/emacs/site-lisp/auctex/latex.el" nil t)
+
(setq TeX-electric-math (cons "\\(" "\\)"))
(define-key LaTeX-mode-map (vector ?\ยง) #'durand-insert-escape)
@@ -264,16 +268,10 @@ The list is in the variable `durand-o-things-list'"
(t
(user-error "Weird associated: %S" associated))))))
-
-
-
-
;; Automatic braces
(setq TeX-electric-sub-and-superscript t)
-
-
;;; If I need to type nested documents frequently, the following will
;;; come in handy.