mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-07 06:50:23 -08:00
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.
This commit is contained in:
parent
e587fc05a7
commit
918669cb3d
5 changed files with 57 additions and 19 deletions
|
|
@ -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"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue