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

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

[elpa] externals/denote b401e249e9 14/14: Clarify comment about duplicat


From: ELPA Syncer
Subject: [elpa] externals/denote b401e249e9 14/14: Clarify comment about duplicate IDs
Date: Wed, 10 Aug 2022 01:57:30 -0400 (EDT)

branch: externals/denote
commit b401e249e9e5cdbc17ef54ad12a46fcc4689bc64
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>

    Clarify comment about duplicate IDs
---
 denote.el | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index 2d528c46b3..94bc132a28 100644
--- a/denote.el
+++ b/denote.el
@@ -861,9 +861,10 @@ where the former does not read dates without a time 
component."
             (buffer-file-name buf))
           (buffer-list)))))
 
-;; This should only be relevant for `denote-date', otherwise the
-;; identifier is always unique (we trust that no-one writes multiple
-;; notes within fractions of a second).
+;; In normal usage, this should only be relevant for `denote-date',
+;; otherwise the identifier is always unique (we trust that no-one
+;; writes multiple notes within fractions of a second).  Though the
+;; `denote' command does call `denote--barf-duplicate-id'.
 (defun denote--id-exists-p (identifier)
   "Return non-nil if IDENTIFIER already exists."
   (seq-some (lambda (file)



reply via email to

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