|
From: | uzibalqa |
Subject: | add-hook without need for intermediate functions |
Date: | Fri, 09 Jun 2023 15:48:58 +0000 |
I have seen that since Emacs 24.1 one does not need the intermediate 'turn-on-foo-mode' style functions when using hooks. Does this apply to all modes, including minor modes ? And thusly one can write (add-hook 'emacs-lisp-mode-hook #'foo-minor-mode)
[Prev in Thread] | Current Thread | [Next in Thread] |