[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/tmr b2903077f5 08/10: tmr: store the original input of
From: |
ELPA Syncer |
Subject: |
[elpa] externals/tmr b2903077f5 08/10: tmr: store the original input of a timer |
Date: |
Sun, 15 May 2022 02:58:18 -0400 (EDT) |
branch: externals/tmr
commit b2903077f52deb25114ad728483a7e5dd485f797
Author: Protesilaos Stavrou <info@protesilaos.com>
Commit: Protesilaos Stavrou <info@protesilaos.com>
tmr: store the original input of a timer
This is the string that we supply to the 'tmr' which gets converted into
the actual duration. We need it for interactive purposes, such as when
prompting for a timer to clone.
---
tmr.el | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/tmr.el b/tmr.el
index 1ae4118970..8475258cd3 100644
--- a/tmr.el
+++ b/tmr.el
@@ -171,6 +171,10 @@ Each function must accept a timer as argument."
nil
:read-only nil
:documentation "The object returned by `run-with-timer'.")
+ (input
+ nil
+ :read-only t
+ :documentation "The original input which is internally interpreted as a
duration.")
(description
nil
:read-only t
@@ -362,7 +366,8 @@ command `tmr-with-description' instead of this one."
(timer (tmr--timer-create
:description description
:creation-date creation-date
- :duration duration))
+ :duration duration
+ :input time))
(timer-object (run-with-timer
duration nil
#'tmr--complete timer)))
- [elpa] externals/tmr updated (3d9242be83 -> 407da662a2), ELPA Syncer, 2022/05/15
- [elpa] externals/tmr b2b322a00f 03/10: tmr: placate the compiler about cl-lib and related, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr 6602891c8f 02/10: Decompose tmr.el into several files, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr 32f6f93aba 04/10: tmr-notification: remove needless quotes, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr 0ceb744885 01/10: tmr: Improve tmr--long-description, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr f5dcca3588 07/10: tmr: use only active timers for tmr-cancel, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr 3f8674546b 09/10: tmr: accept optional default in description prompt, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr 407da662a2 10/10: tmr: make tmr-clone prompt optionally, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr c7e0f6f118 06/10: tmr: tweak message for completed tmr, ELPA Syncer, 2022/05/15
- [elpa] externals/tmr b2903077f5 08/10: tmr: store the original input of a timer,
ELPA Syncer <=
- [elpa] externals/tmr c1e7580eec 05/10: tmr: print message for cancelled timer, ELPA Syncer, 2022/05/15