Remove auto-insert
This commit is contained in:
parent
702502bbdd
commit
726d90d708
16
init.el
16
init.el
|
@ -66,22 +66,6 @@
|
||||||
(:with-mode authinfo-mode
|
(:with-mode authinfo-mode
|
||||||
(:local-set truncate-lines t)))
|
(: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)
|
(setup (:require cus-edit)
|
||||||
;; I don't use Custom to actually /make/ any customizations, but it's handy to
|
;; 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
|
;; (A) see what options are available and (B) persist some changes across
|
||||||
|
|
Loading…
Reference in New Issue