From 0a68c6ff37c9b784f5f42c0f496f767b1a1ded3a Mon Sep 17 00:00:00 2001 From: Zelong Kuang Date: Fri, 20 Feb 2026 02:58:42 +1100 Subject: [PATCH] Fix --- lisp/init-ocaml.el | 5 ++--- lisp/init-tex.el | 6 +++--- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lisp/init-ocaml.el b/lisp/init-ocaml.el index f7dd585..b75423e 100644 --- a/lisp/init-ocaml.el +++ b/lisp/init-ocaml.el @@ -12,9 +12,8 @@ (use-package ocaml-eglot :ensure t :after tuareg - :hook - (tuareg-mode . ocaml-eglot) - (ocaml-eglot . eglot-ensure) + :hook (tuareg-mode . ocaml-eglot) + :hook (ocaml-eglot . eglot-ensure) :config (setq ocaml-eglot-syntax-checker 'flycheck)) diff --git a/lisp/init-tex.el b/lisp/init-tex.el index 23b40ba..a119117 100644 --- a/lisp/init-tex.el +++ b/lisp/init-tex.el @@ -5,9 +5,9 @@ ("./configure" "--without-texmf-dir" "--with-lispdir=.") ("make"))) :mode (("\\.tex\\'" . LaTeX-mode)) - :hook prettify-symbols-mode - :hook visual-line-mode - :hook turn-on-reftex + :hook (LaTeX-mode . prettify-symbols-mode) + :hook (LaTeX-mode . visual-line-mode) + :hook (LaTeX-mode . turn-on-reftex) :bind (:map LaTeX-mode-map ("C-S-e" . latex-math-from-calc)) :custom