branch: externals/denote
commit 0d5ce4f22b4d41c5d41b1903cc0343045085af03
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Make stylistic change to denote-subdirectory-prompt
---
denote.el | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/denote.el b/denote.el
index e6628f19fb..35ceb08d03 100644
--- a/denote.el
+++ b/denote.el
@@ -3528,10 +3528,7 @@ a value that can be parsed by `decode-time' or nil."
"Prompt for subdirectory of the variable `denote-directory'.
The table uses the `file' completion category (so it works with
packages such as `marginalia' and `embark')."
- (let* ((roots (mapcar
- (lambda (d)
- (directory-file-name d))
- (denote-directories)))
+ (let* ((roots (mapcar #'directory-file-name (denote-directories)))
(subdirs (denote-directory-subdirectories))
(dirs (append roots subdirs)))
(denote--subdirs-completion-table dirs)))