Skip to content

Commit

Permalink
Make stylistic change in denote-select-linked-file-prompt
Browse files Browse the repository at this point in the history
  • Loading branch information
protesilaos committed Nov 4, 2024
1 parent 170a823 commit d42be4e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions denote.el
Original file line number Diff line number Diff line change
Expand Up @@ -4256,8 +4256,7 @@ function."

(defun denote-select-linked-file-prompt (files)
"Prompt for linked file among FILES."
(let ((file-names (mapcar #'denote-get-file-name-relative-to-denote-directory
files)))
(let ((file-names (mapcar #'denote-get-file-name-relative-to-denote-directory files)))
(completing-read
"Find linked file: "
(denote--completion-table 'file file-names)
Expand Down

0 comments on commit d42be4e

Please sign in to comment.