diff --git a/init.el b/init.el index bd706a5..677fdb5 100644 --- a/init.el +++ b/init.el @@ -66,22 +66,6 @@ (:with-mode authinfo-mode (:local-set truncate-lines t))) -(setup (:require auto-insert) - (setf (alist-get '("lisp/.*\\.el\\'" . "+Emacs lisp") - auto-insert-alist nil nil #'equal) - `(nil ";;; " (file-name-nondirectory (buffer-file-name)) - (make-string (max 2 (- fill-column (current-column) 27)) 32) - "-*- lexical-binding: t; -*-" '(setq lexical-binding t) - ,(concat "\n\n;;; Commentary:" - "\n\n;; ") _ - ,(concat "\n\n;;; Code:" - "\n\n" - "\n\n(provide '") - (file-name-base (buffer-file-name)) - ,(concat ")" "\n;;; ") - (file-name-nondirectory (buffer-file-name)) " ends here\n")) - (auto-insert-mode +1)) - (setup (:require cus-edit) ;; I don't use Custom to actually /make/ any customizations, but it's handy to ;; (A) see what options are available and (B) persist some changes across