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

    Remove comment in denote-format-file-name
---
 denote.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/denote.el b/denote.el
index b679ec5402..b06146984e 100644
--- a/denote.el
+++ b/denote.el
@@ -2859,7 +2859,7 @@ which case it is not added to the base file name."
     (setq file-name (concat file-name extension))
     ;; Do not prepend identifier with @@ if it is the first component and has 
the format 00000000T000000.
     (when (and (string-prefix-p "@@" file-name)
-               (string-match-p (concat "\\`" denote-date-identifier-regexp 
"\\'") id)) ; This is always true for now.
+               (string-match-p (concat "\\`" denote-date-identifier-regexp 
"\\'") id))
       (setq file-name (substring file-name 2)))
     (concat dir-path file-name)))
 

Reply via email to