mirror of
https://github.com/protesilaos/denote.git
synced 2026-09-10 07:16:20 -04:00
Make sure the denote-file-prompt uses what it got already from denote-has-single-denote-directory-p
This commit is contained in:
parent
252908697a
commit
d94e942ac0
|
|
@ -1564,7 +1564,7 @@ Return the absolute path to the matching file."
|
|||
(denote--completion-table 'file relative-files)
|
||||
nil (unless no-require-match :require-match)
|
||||
nil 'denote-file-history))
|
||||
(absolute-file (if (denote-has-single-denote-directory-p)
|
||||
(absolute-file (if single-dir-p
|
||||
(expand-file-name input default-directory)
|
||||
input)))
|
||||
;; NOTE: This block is executed when no-require-match is t. It is useful
|
||||
|
|
|
|||
Loading…
Reference in a new issue