summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--emacsconf.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 37bfc83..c873254 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -1599,7 +1599,7 @@ tracks with the ID in the cdr of that list."
(defun emacsconf-el-complete ()
"Complete a file from the Emacsconf Elisp library."
(concat "emacsconf-el:"
- (file-name-base
+ (file-name-nondirectory
(read-file-name
"File: "
(file-name-directory (locate-library "emacsconf.el"))))))