fix brackets in denote-parse-date

previous version returned always current-time
This commit is contained in:
random 2024-02-17 16:14:27 +01:00
parent 6ecadb3e3f
commit e8d4a8397d

View file

@ -1899,7 +1899,7 @@ If DATE is nil, return nil."
"Return DATE as an appropriate value for the `denote' command.
Pass DATE through `denote-valid-date-p' and use its return value.
If either that or DATE is nil, return `current-time'."
(or (denote-valid-date-p date)) (current-time))
(or (denote-valid-date-p date) (current-time)))
(defun denote--buffer-file-names ()
"Return file names of Denote buffers."