summary refs log tree commit diff
path: root/snippets/emacs-lisp-mode/header
diff options
context:
space:
mode:
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