summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--init.el10
1 files changed, 6 insertions, 4 deletions
diff --git a/init.el b/init.el index 20fb9f9..04b50aa 100644 --- a/init.el +++ b/init.el
@@ -722,10 +722,7 @@ specific to most general, they are these:
722 722
723 (defun prog-mode@auto-fill () 723 (defun prog-mode@auto-fill ()
724 (setq-local comment-auto-fill-only-comments t) 724 (setq-local comment-auto-fill-only-comments t)
725 (turn-on-auto-fill))) 725 (turn-on-auto-fill))))
726
727 (add-hook 'after-save-hook
728 #'executable-make-buffer-file-executable-if-script-p))
729 726
730(setup repeat 727(setup repeat
731 ;; new for Emacs 28! 728 ;; new for Emacs 28!
@@ -1459,6 +1456,11 @@ specific to most general, they are these:
1459 (:hook-into emacs-lisp-mode 1456 (:hook-into emacs-lisp-mode
1460 lisp-interaction-mode)) 1457 lisp-interaction-mode))
1461 1458
1459(setup executable
1460 (:option executable-prefix-env t)
1461 (add-hook 'after-save-hook
1462 #'executable-make-buffer-file-executable-if-script-p))
1463
1462(setup (:straight-if exec-path-from-shell 1464(setup (:straight-if exec-path-from-shell
1463 (acdw/system :home)) 1465 (acdw/system :home))
1464 (when (daemonp) 1466 (when (daemonp)