emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[elpa] externals/denote 92310d2c37 1/3: Fix denote--id-exists-p


From: ELPA Syncer
Subject: [elpa] externals/denote 92310d2c37 1/3: Fix denote--id-exists-p
Date: Tue, 9 Aug 2022 01:57:28 -0400 (EDT)

branch: externals/denote
commit 92310d2c3733e4ebc6c246794eb5717493c5f0bb
Author: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>
Commit: Jean-Philippe Gagné Guay <jeanphilippe150@gmail.com>

    Fix denote--id-exists-p
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index 3cfaf5cac2..5ffc6b9341 100644
--- a/denote.el
+++ b/denote.el
@@ -879,7 +879,7 @@ where the former does not read dates without a time 
component."
   "Return non-nil if IDENTIFIER already exists."
   (seq-some (lambda (file)
               (string-prefix-p identifier (file-name-nondirectory file)))
-            (concat (denote--directory-files)
+            (append (denote--directory-files)
                     (denote--buffer-file-names))))
 
 (defun denote--barf-duplicate-id (identifier)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]