summary refs log tree commit diff
path: root/emacs
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-15 13:42:31 -0700
committerFranck Cuny <franck@fcuny.net>2022-05-15 13:55:27 -0700
commit9acd25bced870d7c5f6df9e9ace788a807d9a394 (patch)
tree2c45fa21e2e049738ecba9eb287542a2029d1ff4 /emacs
parentaspell (diff)
downloademacs.d-9acd25bced870d7c5f6df9e9ace788a807d9a394.tar.gz
snippets: header for elisp
Diffstat (limited to 'emacs')
-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