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

    Fix order of or subexpressions in denote-date-prompt
---
 denote.el | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/denote.el b/denote.el
index d2482f7399..fb44732538 100644
--- a/denote.el
+++ b/denote.el
@@ -3083,9 +3083,7 @@ a value that can be parsed by `decode-time' or nil."
             (setq time (time-add time (string-to-number cur-time-seconds))))
           (format-time-string "%Y-%m-%d %H:%M:%S" time))
       (read-string
-       (or
-        "DATE and TIME for note (e.g. 2022-06-16 14:30): "
-        prompt-text)
+       (or prompt-text "DATE and TIME for note (e.g. 2022-06-16 14:30): ")
        (denote--date-convert initial-date :string)
        'denote-date-history))))
 

Reply via email to