Skip to content

Commit

Permalink
Call customized function correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
maw committed Jul 25, 2022
1 parent 38b3e52 commit 0c3f322
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions zetteldeft.org
Original file line number Diff line number Diff line change
Expand Up @@ -738,7 +738,7 @@ Based on =deft-find-file=.
(defun zetteldeft-find-file (file)
"Open deft file FILE."
(interactive
(list (zetteldeft-completing-read "Deft find file: "
(list (funcall zetteldeft-completing-read "Deft find file: "
(deft-find-all-files-no-prefix))))
(deft-find-file file))
#+END_SRC
Expand Down Expand Up @@ -781,7 +781,7 @@ Based on =deft-find-file=.
(defun zetteldeft-find-file-id-insert (file)
"Find deft file FILE and insert a link."
(interactive (list
(zetteldeft-completing-read "File to insert id from: "
(funcall zetteldeft-completing-read "File to insert id from: "
(deft-find-all-files-no-prefix))))
(insert (concat zetteldeft-link-indicator
(zetteldeft--lift-id file)
Expand Down Expand Up @@ -811,7 +811,7 @@ Include the prefix on a new line after the title, and add ID and title.
Finds the title line, and adds `backlink-prefix' with
ID and title on a new line."
(interactive (list
(zetteldeft-completing-read "File to add backlink to: "
(funcall zetteldeft-completing-read "File to add backlink to: "
(deft-find-all-files-no-prefix))))
(save-excursion
(goto-char (point-min))
Expand Down Expand Up @@ -844,7 +844,7 @@ Based on =deft-find-file=.
(defun zetteldeft-find-file-full-title-insert (file)
"Find deft file FILE and insert a link with title."
(interactive (list
(zetteldeft-completing-read "File to insert full title from: "
(funcall zetteldeft-completing-read "File to insert full title from: "
(deft-find-all-files-no-prefix))))
(insert zetteldeft-link-indicator
(zetteldeft--lift-id file)
Expand Down Expand Up @@ -2051,7 +2051,7 @@ When called interactively, select a file from the completion interface.
(defun zetteldeft-org-graph-note (deftFile)
"Create a graph starting from note DEFTFILE."
(interactive (list
(zetteldeft-completing-read "Note to start graph from: "
(funcall zetteldeft-completing-read "Note to start graph from: "
(deft-find-all-files))))
(setq zetteldeft--graph-links (list))
(insert zetteldeft-graph-syntax-begin)
Expand Down

0 comments on commit 0c3f322

Please sign in to comment.