summaryrefslogtreecommitdiff
path: root/.config/emacs/templates
diff options
context:
space:
mode:
authorThomas Voss <mail@thomasvoss.com> 2024-10-16 22:04:33 +0200
committerThomas Voss <mail@thomasvoss.com> 2024-10-16 22:04:33 +0200
commit0ee7fa9c382ae30295f0b8d88457f7856c7ff800 (patch)
tree6b5a0cf01fa0bfa4d01b0134b268f5d993055c0b /.config/emacs/templates
parentd452ae1347b3711bc0a7ac80cfa2c37d9d63836e (diff)
emacs: Overhaul configuration completely
Diffstat (limited to '.config/emacs/templates')
-rw-r--r--.config/emacs/templates9
1 files changed, 9 insertions, 0 deletions
diff --git a/.config/emacs/templates b/.config/emacs/templates
index edd8461..5d14264 100644
--- a/.config/emacs/templates
+++ b/.config/emacs/templates
@@ -19,3 +19,12 @@ c-mode c-ts-mode c++-mode c++-ts-mode
n
"#define " header n n r n n
"#endif /* !" header " */")
+
+emacs-lisp-mode
+
+(header
+ ";;; " (file-name-nondirectory (or (buffer-file-name)
+ (buffer-name)))
+ " --- " p " -*- lexical-binding: t; -*-" n n q)
+
+(section "\f" n ";;; " p n n q)