about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2022-01-29 19:33:43 -0600
committerCase Duckworth2022-01-29 19:33:43 -0600
commit726d90d7085eb69ccd978faaf266f1846e957afe (patch)
tree227abc100c16f4a742956e5ce1741d15661a8ded
parentAllow +open-paragraph to open a paragraph above (diff)
downloademacs-726d90d7085eb69ccd978faaf266f1846e957afe.tar.gz
emacs-726d90d7085eb69ccd978faaf266f1846e957afe.zip
Remove auto-insert
-rw-r--r--init.el16
1 files changed, 0 insertions, 16 deletions
diff --git a/init.el b/init.el index bd706a5..677fdb5 100644 --- a/init.el +++ b/init.el
@@ -66,22 +66,6 @@
66 (:with-mode authinfo-mode 66 (:with-mode authinfo-mode
67 (:local-set truncate-lines t))) 67 (:local-set truncate-lines t)))
68 68
69(setup (:require auto-insert)
70 (setf (alist-get '("lisp/.*\\.el\\'" . "+Emacs lisp")
71 auto-insert-alist nil nil #'equal)
72 `(nil ";;; " (file-name-nondirectory (buffer-file-name))
73 (make-string (max 2 (- fill-column (current-column) 27)) 32)
74 "-*- lexical-binding: t; -*-" '(setq lexical-binding t)
75 ,(concat "\n\n;;; Commentary:"
76 "\n\n;; ") _
77 ,(concat "\n\n;;; Code:"
78 "\n\n"
79 "\n\n(provide '")
80 (file-name-base (buffer-file-name))
81 ,(concat ")" "\n;;; ")
82 (file-name-nondirectory (buffer-file-name)) " ends here\n"))
83 (auto-insert-mode +1))
84
85(setup (:require cus-edit) 69(setup (:require cus-edit)
86 ;; I don't use Custom to actually /make/ any customizations, but it's handy to 70 ;; I don't use Custom to actually /make/ any customizations, but it's handy to
87 ;; (A) see what options are available and (B) persist some changes across 71 ;; (A) see what options are available and (B) persist some changes across