about summary refs log tree commit diff stats
path: root/snippets/emacs-lisp-mode
diff options
context:
space:
mode:
Diffstat (limited to 'snippets/emacs-lisp-mode')
-rw-r--r--snippets/emacs-lisp-mode/+feature14
1 files changed, 14 insertions, 0 deletions
diff --git a/snippets/emacs-lisp-mode/+feature b/snippets/emacs-lisp-mode/+feature new file mode 100644 index 0000000..1b8a721 --- /dev/null +++ b/snippets/emacs-lisp-mode/+feature
@@ -0,0 +1,14 @@
1# -*- mode: snippet -*-
2# name: +feature
3# key: +f
4# --
5;;; `(file-name-nondirectory (buffer-file-name))` --- ${1:Title} -*- lexical-binding: t; -*-
6
7;;; Commentary:
8
9;;; Code:
10
11$0
12
13(provide '`(file-name-nondirectory (file-name-sans-extension (buffer-file-name)))`)
14;;; `(file-name-nondirectory (buffer-file-name))` ends here \ No newline at end of file