diff options
author | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 05:50:51 +0200 |
---|---|---|
committer | Thomas Voss <mail@thomasvoss.com> | 2023-08-11 05:50:51 +0200 |
commit | ac97b21b4096c8abcbeb9ac9017281375a4f6510 (patch) | |
tree | 99f1e57a9f92329ce2375d39758d57340eb68138 /.config/emacs/config.org | |
parent | 97347442fdc848d0529aac2c51ce61501fc9ed23 (diff) |
emacs: Wrap ts-mode in ‘mm-mode-to-hook’
When setting hooks, we need to _actually get the hook_. This was just a
brain-fart on my end.
Diffstat (limited to '.config/emacs/config.org')
-rw-r--r-- | .config/emacs/config.org | 2 |
1 files changed, 1 insertions, 1 deletions
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) |