summary refs log tree commit diff
path: root/snippets/emacs-lisp-mode/header
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2024-04-07 15:24:36 -0700
committerFranck Cuny <franck@fcuny.net>2024-04-07 15:24:36 -0700
commitf40223108340435d57733545cf7ab57b47786b62 (patch)
treec91bd72cfab6d3ee644b93df9adf403e0e1d8079 /snippets/emacs-lisp-mode/header
parentensure docker is installed (diff)
downloademacs.d-f40223108340435d57733545cf7ab57b47786b62.tar.gz
fix snippet for elisp's headers
Diffstat (limited to '')
-rw-r--r--snippets/emacs-lisp-mode/header2
1 files changed, 1 insertions, 1 deletions
diff --git a/snippets/emacs-lisp-mode/header b/snippets/emacs-lisp-mode/header
index b868f51..79533c3 100644
--- a/snippets/emacs-lisp-mode/header
+++ b/snippets/emacs-lisp-mode/header
@@ -13,6 +13,6 @@
 
 ${3:(message "Hello World!")}
 
-(provide '`(file-name-nondirectory (buffer-file-name))`)
+(provide '`(file-name-base buffer-file-name)`)
 
 ;;; `(file-name-nondirectory (buffer-file-name))` ends here
\ No newline at end of file