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

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

[elpa] externals/denote c5e73c2c99 08/11: Use non obsolete variables


From: ELPA Syncer
Subject: [elpa] externals/denote c5e73c2c99 08/11: Use non obsolete variables
Date: Sun, 8 Oct 2023 03:57:49 -0400 (EDT)

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

    Use non obsolete variables
---
 denote.el | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index 09694d5a29..9fce7d8078 100644
--- a/denote.el
+++ b/denote.el
@@ -1674,7 +1674,7 @@ It checks files in variable `denote-directory' and active 
buffer files."
                       (denote-directory-files)))
          (names (append file-names (denote--buffer-file-names))))
     (dolist (name names)
-      (let ((id (when (string-match (concat "\\`" denote--id-regexp) name)
+      (let ((id (when (string-match (concat "\\`" denote-id-regexp) name)
                   (match-string-no-properties 0 name))))
         (puthash id t ids)))
     ids))
@@ -1685,10 +1685,10 @@ USED-IDS is a hash-table of all used IDs. If ID is 
already used,
 increment it 1 second at a time until an available id is found."
   (let ((time (date-to-time id)))
     (while (gethash
-            (format-time-string denote--id-format time)
+            (format-time-string denote-id-format time)
             used-ids)
       (setq time (time-add time 1)))
-    (format-time-string denote--id-format time)))
+    (format-time-string denote-id-format time)))
 
 (define-obsolete-function-alias
   'denote--barf-duplicate-id



reply via email to

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