branch: externals/tmr commit 6c2af5d8be1fdf60a95dfa36abfddc5d0dcad15d Author: Protesilaos Stavrou <i...@protesilaos.com> Commit: Protesilaos Stavrou <i...@protesilaos.com>
Update tmr-clone docs to reflect current state --- README.org | 9 +++++---- tmr.el | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/README.org b/README.org index b1ee795fb6..e01b70c445 100644 --- a/README.org +++ b/README.org @@ -123,10 +123,11 @@ that ~tmr~ and ~tmr-with-description~ accept. #+findex: tmr-clone The ~tmr-clone~ command directly copies the duration and optional -description of a timer into a new one. With an optional prefix -argument, this command prompts for a duration and, if the underlying -timer had a description, for a description as well. The default values -of such prompts as those of the original timer. +description of a timer into a new one. With an optional prefix argument +(=C-u= by default), this command prompts for a duration. If a double +prefix argument is supplied (=C-u C-u=), the command asks for a duration +and then a description. The default values of such prompts as those of +the original timer. #+findex: tmr-remove-finished The ~tmr-remove-finished~ command deletes all elapsed timers from the diff --git a/tmr.el b/tmr.el index d91ca2e90c..d742c6cf89 100644 --- a/tmr.el +++ b/tmr.el @@ -426,9 +426,9 @@ user uses a prefix argument (\\[universal-argument])." ;;;###autoload (defun tmr-clone (timer &optional prompt) "Create a new timer by cloning TIMER. -With optional PROMPT, such as a prefix argument (C-u), ask for -confirmation about the duration. The description is asked only -when the prefix argument is given twice (C-u C-u). +With optional PROMPT, such as a prefix argument, ask for +confirmation about the duration. When PROMPT is a double prefix +argument, ask for a description as well. Without a PROMPT, clone TIMER outright." (interactive