summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSacha Chua <sacha@sachachua.com>2023-10-22 09:04:12 -0400
committerSacha Chua <sacha@sachachua.com>2023-10-22 09:04:12 -0400
commit039c57f49d23c3d83b6ead343324f15439ff67f4 (patch)
tree4810451d89726ea124388a8a5787e5c70393e071
parent56fee2b8dcfdc8fb66b7727c2ee798b0bb514f73 (diff)
downloademacsconf-el-039c57f49d23c3d83b6ead343324f15439ff67f4.tar.xz
emacsconf-el-039c57f49d23c3d83b6ead343324f15439ff67f4.zip
fix ansible link
-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