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

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

[elpa] externals/denote 0f045279e2 08/14: Remove the check for empty fil


From: ELPA Syncer
Subject: [elpa] externals/denote 0f045279e2 08/14: Remove the check for empty file from denote--edit-front-matter-p
Date: Mon, 15 Aug 2022 23:57:30 -0400 (EDT)

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

    Remove the check for empty file from denote--edit-front-matter-p
---
 denote.el | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/denote.el b/denote.el
index ff3ec71138..1c2a3cbe7e 100644
--- a/denote.el
+++ b/denote.el
@@ -1345,8 +1345,7 @@ in a Denote note.
 
 For the purposes of this test, FILE is a Denote note when it
 contains a title line, a keywords line or both."
-  (and (not (denote--file-empty-p file))
-       (denote--regexp-in-file-p (denote--title-key-regexp file-type) file)
+  (and (denote--regexp-in-file-p (denote--title-key-regexp file-type) file)
        (denote--regexp-in-file-p (denote--keywords-key-regexp file-type) 
file)))
 
 (defun denote--rewrite-keywords (file keywords file-type)



reply via email to

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