branch: externals/denote
commit 363b1c00800b4620666f8e61e3ce440c1e941a9d
Author: Adam Ruzicka <[email protected]>
Commit: Adam Ruzicka <[email protected]>

    Replace seq-keep with version-agnostic variant
---
 denote.el | 15 ++++++++-------
 1 file changed, 8 insertions(+), 7 deletions(-)

diff --git a/denote.el b/denote.el
index 908840f834..e37eed8f87 100644
--- a/denote.el
+++ b/denote.el
@@ -1620,13 +1620,14 @@ where the former does not read dates without a time 
component."
 
 (defun denote--buffer-file-names ()
   "Return file names of Denote buffers."
-  (seq-keep
-   (lambda (buffer)
-     (when-let (((buffer-live-p buffer))
-                (file (buffer-file-name buffer))
-                ((denote-file-is-note-p file)))
-       file))
-   (buffer-list)))
+  (delq nil
+        (mapcar
+         (lambda (buffer)
+           (when-let (((buffer-live-p buffer))
+                      (file (buffer-file-name buffer))
+                      ((denote-file-is-note-p file)))
+             file))
+         (buffer-list))))
 
 ;; In normal usage, this should only be relevant for `denote-date',
 ;; otherwise the identifier is always unique (we trust that no-one

Reply via email to