branch: externals/denote commit c68a8e224af4f3ba31fdbc22fd746882372b1797 Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Tweak denote--get-note-path-by-id for style --- denote.el | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/denote.el b/denote.el index ac59b77955..824d04d89a 100644 --- a/denote.el +++ b/denote.el @@ -358,8 +358,10 @@ names that are relative to the variable `denote-directory'." (defun denote--get-note-path-by-id (id) "Return the absolute path of ID note in variable `denote-directory'." - (cl-find-if (lambda (f) (string-prefix-p id (file-name-nondirectory f))) - (denote--directory-files :absolute))) + (cl-find-if + (lambda (f) + (string-prefix-p id (file-name-nondirectory f))) + (denote--directory-files :absolute))) (defun denote--directory-files-matching-regexp (regexp &optional no-check-current) "Return list of files matching REGEXP.