diff options
| author | jao <jao@gnu.org> | 2026-09-27 19:10:49 +0100 |
|---|---|---|
| committer | jao <jao@gnu.org> | 2026-09-27 19:11:13 +0100 |
| commit | a6c9577440582dd22ee02501aeae09673eb2b97c (patch) | |
| tree | a5de80575322cdc4c3e9481d0a651f4f090d2c31 /lib | |
| parent | 3cddb04911e74cd66b6cd1ce179abad4fe462a4f (diff) | |
| download | elibs-a6c9577440582dd22ee02501aeae09673eb2b97c.tar.gz elibs-a6c9577440582dd22ee02501aeae09673eb2b97c.tar.bz2 | |
mpc nits
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/media/jao-mpc.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el index 23b2dda..6c5fffd 100644 --- a/lib/media/jao-mpc.el +++ b/lib/media/jao-mpc.el @@ -229,8 +229,8 @@ (setq total (+ total (jao-mpc--time-to-secs time)))))) ;;;###autoload -(defun jao-mpc-playlist-duration-string (&optional current) - (format-seconds "%hh %mm %ss" (jao-mpc--playlist-duration current))) +(defun jao-mpc-playlist-duration-string (&optional current fmt) + (format-seconds (or fmt "%hh %mm %ss") (jao-mpc--playlist-duration current))) ;;;###autoload (defun jao-mpc-show-playlist-duration () |
