summaryrefslogtreecommitdiff
path: root/.config/emacs/templates
diff options
context:
space:
mode:
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)