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

[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))



reply via email to

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