summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorCase Duckworth2021-10-07 18:37:14 -0500
committerCase Duckworth2021-10-07 18:37:14 -0500
commitcd9cc5321589b378a836830c21159e5ed1729453 (patch)
tree305e6ef01ef8cfb881f18ea8521fd1623a4f9799
parentFix acdw/define-auto-insert (diff)
downloademacs-cd9cc5321589b378a836830c21159e5ed1729453.tar.gz
emacs-cd9cc5321589b378a836830c21159e5ed1729453.zip
Tweak auto-insert thing
-rw-r--r--init.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/init.el b/init.el index d3ad238..fa6e456 100644 --- a/init.el +++ b/init.el
@@ -104,11 +104,11 @@
104 '("Short description: " ";;; " 104 '("Short description: " ";;; "
105 (file-name-nondirectory (buffer-file-name)) 105 (file-name-nondirectory (buffer-file-name))
106 " --- " str 106 " --- " str
107 (make-string (max 2 ( - 80 (current-column) 27)) 32) 107 (make-string (max 2 ( - fill-column (current-column) 27)) 32)
108 "-*- lexical-binding: t; -*-" 108 "-*- lexical-binding: t; -*-"
109 '(setq lexical-binding t) 109 '(setq lexical-binding t)
110 "\n\n;; Copyright (C) " (format-time-string "%Y") 110 "\n\n;; Copyright (C) " (format-time-string "%Y")
111 " " (getenv "ORGANIZATION") | (progn user-full-name) 111 " " (getenv "ORGANIZATION") | (progn user-full-name)
112 "\n\n;; Author: " (user-full-name) 112 "\n\n;; Author: " (user-full-name)
113 '(if (search-backward "&" (line-beginning-position) t) 113 '(if (search-backward "&" (line-beginning-position) t)
114 (replace-match (capitalize (user-login-name)) t t)) 114 (replace-match (capitalize (user-login-name)) t t))