summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJSDurand <mmemmew@gmail.com>2022-02-18 15:40:13 +0800
committerJSDurand <mmemmew@gmail.com>2022-02-18 15:40:13 +0800
commit2290a9c413e0a747795640c38666849d965c9057 (patch)
treecc621af3471f9ac14e4064c14a6dcfa11d675d81
parentb2717b24534ddd3f9ca302f75f091c9bc15c21b0 (diff)
tex: enable reftex by default
I don't know why I didn't do this previously.
-rw-r--r--tex-conf.el4
1 files changed, 4 insertions, 0 deletions
diff --git a/tex-conf.el b/tex-conf.el
index 3f44af6..64fb0af 100644
--- a/tex-conf.el
+++ b/tex-conf.el
@@ -215,6 +215,10 @@
(add-hook 'LaTeX-mode-hook 'LaTeX-math-mode)
+;;; Reftex-mode
+
+(add-hook 'LaTeX-mode-hook #'reftex-mode)
+
(define-key LaTeX-math-mode-map (LaTeX-math-abbrev-prefix) t)
(set-default 'LaTeX-math-abbrev-prefix "รน")