summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-05-01 10:16:06 -0500
committerCase Duckworth2022-05-01 10:16:06 -0500
commitf7099ebac6e26e1cabda714914cafb3453a5ddc7 (patch)
tree2c3a249c5c55d06b84e7b1441161d9b706c65016
parentIndentation (diff)
downloademacs-f7099ebac6e26e1cabda714914cafb3453a5ddc7.tar.gz
emacs-f7099ebac6e26e1cabda714914cafb3453a5ddc7.zip
Disable auto-insert-mode
-rw-r--r--init.el7
1 files changed, 1 insertions, 6 deletions
diff --git a/init.el b/init.el index 75d558b..4c0c4b0 100644 --- a/init.el +++ b/init.el
@@ -81,11 +81,6 @@
81 (:local-set truncate-lines t))) 81 (:local-set truncate-lines t)))
82 82
83(setup (:require autoinsert) 83(setup (:require autoinsert)
84 (auto-insert-mode +1))
85
86(setup (:require autoinsert)
87 (setf (alist-get "\\.scm" auto-insert-alist nil nil #'equal)
88 '(insert "#!/bin/sh\n#| -*- scheme -*-\nexec csi -s $0 \"$@\"\n|#\n"))
89 ;; (auto-insert-mode +1) 84 ;; (auto-insert-mode +1)
90 ) 85 )
91 86
@@ -1649,7 +1644,7 @@
1649 (:require +chicken) 1644 (:require +chicken)
1650 (setf (alist-get "\\.scm\\'" auto-mode-alist nil nil #'string=) 1645 (setf (alist-get "\\.scm\\'" auto-mode-alist nil nil #'string=)
1651 'scheme-mode) 1646 'scheme-mode)
1652 (setf (alist-get "\\.scm\\'" auto-mode-alist nil nil #'string=) 1647 (setf (alist-get "\\.scm\\'" auto-insert-alist nil nil #'equal)
1653 '(insert "#!/bin/sh\n#| -*- scheme -*-\nexec csi -s $0 \"$@\"\n|#\n"))) 1648 '(insert "#!/bin/sh\n#| -*- scheme -*-\nexec csi -s $0 \"$@\"\n|#\n")))
1654 1649
1655(setup (:straight (git-modes 1650(setup (:straight (git-modes