From 577a13180a8bff2ad53066fa8b148212add35d21 Mon Sep 17 00:00:00 2001 From: JSDurand Date: Mon, 15 Mar 2021 16:23:04 +0800 Subject: 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. --- tex-conf.el | 10 ++++------ 1 file 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. -- cgit v1.2.3-18-g5258