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

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

[elpa] externals/denote 8fdb4105d9 1/6: Remove unused denote--id-exists-


From: ELPA Syncer
Subject: [elpa] externals/denote 8fdb4105d9 1/6: Remove unused denote--id-exists-p
Date: Thu, 14 Nov 2024 06:57:45 -0500 (EST)

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

    Remove unused denote--id-exists-p
---
 denote.el | 7 -------
 1 file changed, 7 deletions(-)

diff --git a/denote.el b/denote.el
index 0f66779c0f..1bdaaabce7 100644
--- a/denote.el
+++ b/denote.el
@@ -2251,13 +2251,6 @@ If DATE is nil or an empty string, return nil."
              file))
          (buffer-list))))
 
-(defun denote--id-exists-p (identifier)
-  "Return non-nil if IDENTIFIER already exists."
-  (seq-some
-   (lambda (file)
-     (string= identifier (denote-retrieve-filename-identifier file)))
-   (append (denote-directory-files) (denote--buffer-file-names))))
-
 (defun denote--get-all-used-ids ()
   "Return a hash-table of all used identifiers.
 It checks files in variable `denote-directory' and active buffer files."



reply via email to

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