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:
parent
422c3665ad
commit
64b0389a2c
1 changed files with 2 additions and 2 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue