summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--emacsconf.el8
1 files changed, 5 insertions, 3 deletions
diff --git a/emacsconf.el b/emacsconf.el
index 3c8bb8f..b10d194 100644
--- a/emacsconf.el
+++ b/emacsconf.el
@@ -1666,11 +1666,13 @@ tracks with the ID in the cdr of that list."
(defun emacsconf-ansible-complete ()
"Complete a file from the Emacsconf Elisp library."
- (concat "emacsconf-el:"
- (file-name-base
+ (concat "emacsconf-ansible:"
+ (file-relative-name
(read-file-name
"File: "
- emacsconf-ansible-directory))))
+ emacsconf-ansible-directory)
+ emacsconf-ansible-directory)))
+
(defun emacsconf-ansible-open (link _)
"Visit a file from the Emacsconf Elisp library."
(find-file