branch: externals/denote
commit f02cc51e2d9002b4f783a0ade8226f07cabd74af
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>
Reformat denote--id-exists-p
---
denote.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/denote.el b/denote.el
index e84cfa7e60..d14c0c08ea 100644
--- a/denote.el
+++ b/denote.el
@@ -1619,10 +1619,10 @@ where the former does not read dates without a time
component."
;; `denote' command does call `denote-barf-duplicate-id'.
(defun denote--id-exists-p (identifier)
"Return non-nil if IDENTIFIER already exists."
- (seq-some (lambda (file)
- (string-prefix-p identifier (file-name-nondirectory file)))
- (append (denote-directory-files)
- (denote--buffer-file-names))))
+ (seq-some
+ (lambda (file)
+ (string-prefix-p identifier (file-name-nondirectory file)))
+ (append (denote-directory-files) (denote--buffer-file-names))))
(defun denote-barf-duplicate-id (identifier)
"Throw a `user-error' if IDENTIFIER already exists."