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

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

[elpa] externals/denote f11966e642 07/11: Add check in denote--get-all-u


From: ELPA Syncer
Subject: [elpa] externals/denote f11966e642 07/11: Add check in denote--get-all-used-ids
Date: Mon, 16 Dec 2024 03:58:30 -0500 (EST)

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

    Add check in denote--get-all-used-ids
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index ee556884ca..2108ddf29f 100644
--- a/denote.el
+++ b/denote.el
@@ -2385,7 +2385,7 @@ It checks files in variable `denote-directory' and active 
buffer files."
                       (denote-directory-files)))
          (names (append file-names (denote--buffer-file-names))))
     (dolist (name names)
-      (let ((id (denote-retrieve-filename-identifier name)))
+      (when-let* ((id (denote-retrieve-filename-identifier name)))
         (puthash id t ids)))
     ids))
 



reply via email to

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