summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacs/etc/snippets/emacs-lisp-mode/header17
1 files changed, 17 insertions, 0 deletions
diff --git a/emacs/etc/snippets/emacs-lisp-mode/header b/emacs/etc/snippets/emacs-lisp-mode/header
new file mode 100644
index 0000000..ccb905a
--- /dev/null
+++ b/emacs/etc/snippets/emacs-lisp-mode/header
@@ -0,0 +1,17 @@
+# -*- mode: snippet -*-
+# name: header
+# key: header
+# --
+;;; `(file-name-nondirectory (buffer-file-name))` --- ${1:summary} -*- lexical-binding: t -*-
+
+;;; Commentary:
+
+;; ${2:commentary}
+
+;;; Code:
+
+${3:(message "Hello World!")}
+
+(provide '`(file-name-nondirectory (buffer-file-name))`)
+
+;;; `(file-name-nondirectory (buffer-file-name))` ends here
\ No newline at end of file