Skip to content

Commit 3305fa3

Browse files
committed
Call customized function correctly
ref #90
1 parent e9f343b commit 3305fa3

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

zetteldeft.org

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -895,7 +895,7 @@ Based on =deft-find-file=.
895895
(defun zetteldeft-find-file-id-insert (file)
896896
"Find deft file FILE and insert a link."
897897
(interactive (list
898-
(zetteldeft-completing-read "File to insert id from: "
898+
(funcall zetteldeft-completing-read "File to insert id from: "
899899
(deft-find-all-files-no-prefix))))
900900
(zetteldeft--insert-link (zetteldeft--lift-id file)))
901901
#+END_SRC
@@ -972,7 +972,7 @@ The backlink appears on a new line.
972972
Finds the title line, and adds `backlink-prefix' with
973973
ID and title on a new line."
974974
(interactive (list
975-
(zetteldeft-completing-read "File to add backlink to: "
975+
(funcall zetteldeft-completing-read "File to add backlink to: "
976976
(deft-find-all-files-no-prefix))))
977977
(save-excursion
978978
(goto-char (funcall zetteldeft-backlink-location-function))
@@ -995,7 +995,7 @@ Based on =deft-find-file=.
995995
(defun zetteldeft-find-file-full-title-insert (file)
996996
"Find deft file FILE and insert a link with title."
997997
(interactive (list
998-
(zetteldeft-completing-read "File to insert full title from: "
998+
(funcall zetteldeft-completing-read "File to insert full title from: "
999999
(deft-find-all-files-no-prefix))))
10001000
(let ((id (zetteldeft--lift-id file)))
10011001
(zetteldeft--insert-link
@@ -2634,7 +2634,7 @@ When called interactively, select a file from the completion interface.
26342634
(defun zetteldeft-org-graph-note (deftFile)
26352635
"Create a graph starting from note DEFTFILE."
26362636
(interactive (list
2637-
(zetteldeft-completing-read "Note to start graph from: "
2637+
(funcall zetteldeft-completing-read "Note to start graph from: "
26382638
(deft-find-all-files))))
26392639
(setq zetteldeft--graph-links (list))
26402640
(insert zetteldeft-graph-syntax-begin)

0 commit comments

Comments
 (0)