summaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2021-06-06 16:44:48 +0800
committerJSDurand <mmemmew@gmail.com>2021-06-06 16:44:48 +0800
commit702f89dba5815c45ebb885f4511195465d68f8d5 (patch)
treea975cb7ad2a74ed3939543ae110a9839e6469303 /init.el
parent05de50f4f1e1aa0124682fc81b1819a6e973b4ff (diff)
init: prepare latex in the correct hook
* init.el (prepare-tex): I was adding this to the hook LaTeX-mode-hook, which is not run until AUCTeX is loaded, but I load AUCTeX inside prepare-tex. The result is that I could not automatically load AUCTeX. Now this is fixed by using the right hook.
Diffstat (limited to 'init.el')
-rw-r--r--init.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.el b/init.el
index 037df53..349f2a5 100644
--- a/init.el
+++ b/init.el
@@ -234,7 +234,7 @@ no effect."
;;; TeX configurations
-(prepare-in-hook-once prepare-tex LaTeX-mode-hook "tex-conf.el")
+(prepare-in-hook-once prepare-tex latex-mode-hook "tex-conf.el")
;;; elfeed