summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-09-29 17:20:22 -0500
committerCase Duckworth2021-09-29 17:20:22 -0500
commit6198dfb726f6edc6e13a3601626a8b9c9a35160f (patch)
treee7c9f521df803ee8d72b2e257c2680eae47e0ff0
parentMove the prompt to acdw-circe (diff)
downloademacs-6198dfb726f6edc6e13a3601626a8b9c9a35160f.tar.gz
emacs-6198dfb726f6edc6e13a3601626a8b9c9a35160f.zip
Move stuff to executable setup form
I should probably do this for all of the files or w/e
-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)