From 0ee7fa9c382ae30295f0b8d88457f7856c7ff800 Mon Sep 17 00:00:00 2001 From: Thomas Voss Date: Wed, 16 Oct 2024 22:04:33 +0200 Subject: emacs: Overhaul configuration completely --- .config/emacs/templates | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to '.config/emacs/templates') 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) -- cgit v1.2.3