From fb34c7aa6a7b7f138e5b32e70e650493bc3ccaf6 Mon Sep 17 00:00:00 2001 From: dx Date: Sun, 17 May 2020 09:30:40 +0100 Subject: ~proper hook for calctex --- Doom/.doom.d/org/config.org | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Doom/.doom.d/org') diff --git a/Doom/.doom.d/org/config.org b/Doom/.doom.d/org/config.org index 3b379b7..7388bcb 100644 --- a/Doom/.doom.d/org/config.org +++ b/Doom/.doom.d/org/config.org @@ -203,7 +203,8 @@ Added some calc mode config. An incredibly powerful tool. #+BEGIN_SRC elisp (use-package calctex :defer t - :hook 'calc-mode) + :config + (add-hook 'calc-mode-hook #'calctex-mode)) #+END_SRC ** Dired and ranger #+BEGIN_SRC elisp -- cgit v1.2.3-13-gbd6f