[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/denote 886c24db07 1/6: Move helper function before its
From: |
ELPA Syncer |
Subject: |
[elpa] externals/denote 886c24db07 1/6: Move helper function before its first call |
Date: |
Thu, 25 Jan 2024 00:57:44 -0500 (EST) |
branch: externals/denote
commit 886c24db07c48c129f788e3293c0f3bf353874a4
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
Move helper function before its first call
---
denote.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/denote.el b/denote.el
index b9c00f704b..48728d0991 100644
--- a/denote.el
+++ b/denote.el
@@ -836,6 +836,10 @@ entire file name."
"Return non-nil if FILE is empty."
(zerop (or (file-attribute-size (file-attributes file)) 0)))
+(defun denote-file-has-identifier-p (file)
+ "Return non-nil if FILE has a Denote identifier."
+ (denote-retrieve-filename-identifier file))
+
(defun denote-file-has-supported-extension-p (file)
"Return non-nil if FILE has supported extension.
Also account for the possibility of an added .gpg suffix.
@@ -861,10 +865,6 @@ For our purposes, a note must not be a directory, must
satisfy
(file-regular-p file)
(denote-filename-is-note-p file)))
-(defun denote-file-has-identifier-p (file)
- "Return non-nil if FILE has a Denote identifier."
- (denote-retrieve-filename-identifier file))
-
(defun denote-file-has-signature-p (file)
"Return non-nil if FILE has a Denote identifier."
(denote-retrieve-filename-signature file))
- [elpa] externals/denote updated (941303ee23 -> 68121fdf0c), ELPA Syncer, 2024/01/25
- [elpa] externals/denote fa5548f766 4/6: Make silo commands not require superfluous prefix argument, ELPA Syncer, 2024/01/25
- [elpa] externals/denote 886c24db07 1/6: Move helper function before its first call,
ELPA Syncer <=
- [elpa] externals/denote 984c3feb24 2/6: Make denote-rename-buffer do nothing if there is no underlying file, ELPA Syncer, 2024/01/25
- [elpa] externals/denote 68121fdf0c 6/6: Document in the manual fix for needless C-u in silos (per commit fa5548f), ELPA Syncer, 2024/01/25
- [elpa] externals/denote 5eabd7745b 5/6: Clarify type of SILO argument when called from Lisp, ELPA Syncer, 2024/01/25
- [elpa] externals/denote 1bd8e36f2f 3/6: Define compatibility aliases for all history variables (don't use 'define-obsolete-variable-alias'), ELPA Syncer, 2024/01/25