diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-04-13 15:31:02 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-04-13 15:31:34 +0200 |
commit | 918669cb3db21eebc9fb409098a4395f131379ee (patch) | |
tree | 0b0dbff24165be2804c9911ba05cfca22b862ced /lisp/emacs-lisp | |
parent | e587fc05a70c08a50258b152bb5403afd013007d (diff) | |
download | emacs-918669cb3db21eebc9fb409098a4395f131379ee.tar.gz emacs-918669cb3db21eebc9fb409098a4395f131379ee.tar.bz2 emacs-918669cb3db21eebc9fb409098a4395f131379ee.zip |
Make list-times not include zero elements
* doc/lispref/os.texi (Time Parsing): Mention %x.
* lisp/calendar/time-date.el (format-seconds): Accept a new %x
spec that removes trailing zeros (bug#54904).
* lisp/emacs-lisp/timer-list.el (list-timers): Don't display
trailing zero bits.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r-- | lisp/emacs-lisp/timer-list.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/timer-list.el b/lisp/emacs-lisp/timer-list.el index c93a50cabfe..aef18d0ba27 100644 --- a/lisp/emacs-lisp/timer-list.el +++ b/lisp/emacs-lisp/timer-list.el @@ -62,7 +62,7 @@ ((numberp repeat) (propertize (format "%12s" (format-seconds - "%dd %hh %mm %z%,1ss" repeat)) + "%x%dd %hh %mm %z%,1ss" repeat)) 'help-echo "Repeat interval")) ((null repeat) (propertize " -" 'help-echo "Runs once")) |