From ac97b21b4096c8abcbeb9ac9017281375a4f6510 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Fri, 11 Aug 2023 05:50:51 +0200 Subject: emacs: Wrap ts-mode in ‘mm-mode-to-hook’ MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit When setting hooks, we need to _actually get the hook_. This was just a brain-fart on my end. --- .config/emacs/config.org | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '.config/emacs') diff --git a/.config/emacs/config.org b/.config/emacs/config.org index c35aa53..979d0a5 100644 --- a/.config/emacs/config.org +++ b/.config/emacs/config.org @@ -812,7 +812,7 @@ with a custom function that reads a list of mode-specific indentation settings. evil-shift-width width) (mm-for-each extra (setq x width))))) (add-hook (mm-mode-to-hook mode) callback 95) - (add-hook (mm-mode-to-ts-mode mode) callback 95)))) + (add-hook (mm-mode-to-hook (mm-mode-to-ts-mode mode)) callback 95)))) (mm-set-indentation-settings) -- cgit v1.2.3