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

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

[elpa] externals/denote ff1aca7fc6 4/9: Simplify denote--directory-files


From: ELPA Syncer
Subject: [elpa] externals/denote ff1aca7fc6 4/9: Simplify denote--directory-files-matching-regexp
Date: Sat, 13 Aug 2022 03:57:29 -0400 (EDT)

branch: externals/denote
commit ff1aca7fc61bb0f32e9798d9289345ffff5cb3bc
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Simplify denote--directory-files-matching-regexp
---
 denote.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index b6ddbb0f90..708967e68e 100644
--- a/denote.el
+++ b/denote.el
@@ -507,8 +507,7 @@ Files are those which satisfy 
`denote--file-has-identifier-p' and
 `denote--file-name-relative-to-denote-directory'."
   (seq-filter
    (lambda (f)
-     (and (denote--file-has-identifier-p f)
-          (string-match-p regexp 
(denote--file-name-relative-to-denote-directory f))))
+     (string-match-p regexp (denote--file-name-relative-to-denote-directory 
f)))
    (denote--directory-files)))
 
 ;;;; Keywords



reply via email to

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