1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-10 08:52:40 -07:00

; newcomers-presets: Fix adding to after-save-hook.

This commit is contained in:
Sean Whitton 2026-03-06 14:37:18 +00:00
parent 422c3665ad
commit 64b0389a2c

View file

@ -39,7 +39,8 @@
(text-mode-hook . display-line-numbers-mode)
(text-mode-hook . flyspell-mode)
)
(after-save-hook . executable-make-buffer-file-executable-if-script-p))
"Alist mapping hooks to functions.
The functions are added to the corresponding hooks when enabling
`newcomers-presets-mode', and removed when disabling the mode.")
@ -124,7 +125,6 @@ This minor mode will enable and disable the theme on startup."
'(shell-command-prompt-show-cwd t)
;;;; File-related options
'(after-save-hook '(executable-make-buffer-file-executable-if-script-p))
'(etags-regen-mode t)
'(vc-auto-revert-mode t)
'(vc-deduce-backend-nonvc-modes t)