From 64b0389a2c795fa24131024fc7ea469588d0dc2c Mon Sep 17 00:00:00 2001 From: Sean Whitton Date: Fri, 6 Mar 2026 14:37:18 +0000 Subject: [PATCH] ; newcomers-presets: Fix adding to after-save-hook. --- etc/themes/newcomers-presets-theme.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/themes/newcomers-presets-theme.el b/etc/themes/newcomers-presets-theme.el index e178a0e3318..f89bca22f99 100644 --- a/etc/themes/newcomers-presets-theme.el +++ b/etc/themes/newcomers-presets-theme.el @@ -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)