[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 46f123c21d 1/4: Relax condition for batch rename
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 46f123c21d 1/4: Relax condition for batch rename from front matter |
Date: |
Thu, 11 Aug 2022 22:57:29 -0400 (EDT) |
branch: externals/denote
commit 46f123c21d0a53d748b6d95a6d04ed9a9fe0ceb2
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Relax condition for batch rename from front matter
This is the same idea as with commit 64c5b74. Thanks to atanasj for the
feedback in issue 87 on the GitHub mirror:
<https://github.com/protesilaos/denote/issues/87>.
---
denote.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/denote.el b/denote.el
index d74b7732e3..372e63047c 100644
--- a/denote.el
+++ b/denote.el
@@ -1473,7 +1473,8 @@ This command is useful for synchronizing multiple file
names with
their respective front matter."
(interactive nil dired-mode)
(if-let ((marks (seq-filter
- (lambda (file) (denote--only-note-p file))
+ (lambda (file)
+ (denote--writable-and-supported-p file))
(dired-get-marked-files))))
(progn
(dolist (file marks)