Skip to content

Commit 0c3f322

Browse files
committed
Call customized function correctly
ref #90
1 parent 38b3e52 commit 0c3f322

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

zetteldeft.org

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ Based on =deft-find-file=.
738738
(defun zetteldeft-find-file (file)
739739
"Open deft file FILE."
740740
(interactive
741-
(list (zetteldeft-completing-read "Deft find file: "
741+
(list (funcall zetteldeft-completing-read "Deft find file: "
742742
(deft-find-all-files-no-prefix))))
743743
(deft-find-file file))
744744
#+END_SRC
@@ -781,7 +781,7 @@ Based on =deft-find-file=.
781781
(defun zetteldeft-find-file-id-insert (file)
782782
"Find deft file FILE and insert a link."
783783
(interactive (list
784-
(zetteldeft-completing-read "File to insert id from: "
784+
(funcall zetteldeft-completing-read "File to insert id from: "
785785
(deft-find-all-files-no-prefix))))
786786
(insert (concat zetteldeft-link-indicator
787787
(zetteldeft--lift-id file)
@@ -811,7 +811,7 @@ Include the prefix on a new line after the title, and add ID and title.
811811
Finds the title line, and adds `backlink-prefix' with
812812
ID and title on a new line."
813813
(interactive (list
814-
(zetteldeft-completing-read "File to add backlink to: "
814+
(funcall zetteldeft-completing-read "File to add backlink to: "
815815
(deft-find-all-files-no-prefix))))
816816
(save-excursion
817817
(goto-char (point-min))
@@ -844,7 +844,7 @@ Based on =deft-find-file=.
844844
(defun zetteldeft-find-file-full-title-insert (file)
845845
"Find deft file FILE and insert a link with title."
846846
(interactive (list
847-
(zetteldeft-completing-read "File to insert full title from: "
847+
(funcall zetteldeft-completing-read "File to insert full title from: "
848848
(deft-find-all-files-no-prefix))))
849849
(insert zetteldeft-link-indicator
850850
(zetteldeft--lift-id file)
@@ -2051,7 +2051,7 @@ When called interactively, select a file from the completion interface.
20512051
(defun zetteldeft-org-graph-note (deftFile)
20522052
"Create a graph starting from note DEFTFILE."
20532053
(interactive (list
2054-
(zetteldeft-completing-read "Note to start graph from: "
2054+
(funcall zetteldeft-completing-read "Note to start graph from: "
20552055
(deft-find-all-files))))
20562056
(setq zetteldeft--graph-links (list))
20572057
(insert zetteldeft-graph-syntax-begin)

0 commit comments

Comments
 (0)