branch: externals/denote
commit 0e3f98810f32efa9909dd7acc5438382ae233f7e
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Tweak format for stylistic consistency
---
 denote.el | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

diff --git a/denote.el b/denote.el
index 43963d1e53..6614bba74a 100644
--- a/denote.el
+++ b/denote.el
@@ -1781,10 +1781,10 @@ format is always [[denote:IDENTIFIER]]."
   (let ((file-names (mapcar (lambda (f)
                               (denote--file-name-relative-to-denote-directory 
f))
                             files)))
-    (completing-read "Find linked file "
-                     (denote--completion-table 'file file-names)
-                     nil t
-                     nil 'denote-link--find-file-history)))
+    (completing-read
+     "Find linked file "
+     (denote--completion-table 'file file-names)
+     nil t nil 'denote-link--find-file-history)))
 
 ;; TODO 2022-06-14: Do we need to add any sort of extension to better
 ;; integrate with Embark?  For the minibuffer interaction it is not
@@ -2005,7 +2005,8 @@ inserts links with just the identifier."
 (defun denote-link--buffer-prompt (buffers)
   "Select buffer from BUFFERS visiting Denote notes."
   (let ((buffer-file-names (mapcar
-                            (lambda (name) (file-name-nondirectory name))
+                            (lambda (name)
+                              (file-name-nondirectory name))
                             buffers)))
     (completing-read
      "Select note buffer: "

Reply via email to