branch: externals/tmr commit 038619a70599599edfbdc933012b7104ec240b6b Author: Damien Cassou <dam...@cassou.me> Commit: Protesilaos Stavrou <i...@protesilaos.com>
tmr--description-prompt: Fix prompt when first used --- tmr.el | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tmr.el b/tmr.el index 4b93941dc2..0defce9458 100644 --- a/tmr.el +++ b/tmr.el @@ -273,7 +273,9 @@ Optionally include DESCRIPTION." "Helper prompt for descriptions in `tmr'." (let ((def (nth 0 tmr--description-hist))) (completing-read - (format "Description for this tmr [%s]: " def) + (if def + (format "Description for this tmr [%s]: " def) + "Description for this tmr: ") tmr-descriptions-list nil nil nil 'tmr--description-hist def)))