branch: externals/tmr
commit 020f8cabf55b9350a8bd450e98394c03981cebf7
Author: Protesilaos Stavrou <[email protected]>
Commit: Protesilaos Stavrou <[email protected]>

    Ensure tmr-acknowledge-minibuffer does not check for hardcoded string
---
 tmr.el | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tmr.el b/tmr.el
index 4720f00b7a..06c81933f7 100644
--- a/tmr.el
+++ b/tmr.el
@@ -677,7 +677,7 @@ If optional DEFAULT is provided use it as a default 
candidate."
                 (format "%s\nAcknowledge with `%s' or additional duration: "
                         (tmr--long-description-for-finished-timer timer)
                         tmr-acknoledge-timer-text))))
-          (not (or (equal input "ack")
+          (not (or (equal input tmr-acknoledge-timer-text)
                    (when-let* ((duration
                                 (ignore-errors
                                   (tmr--parse-duration (current-time) input))))

Reply via email to