summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2026-09-27 19:10:49 +0100
committerjao <jao@gnu.org>2026-09-27 19:11:13 +0100
commita6c9577440582dd22ee02501aeae09673eb2b97c (patch)
treea5de80575322cdc4c3e9481d0a651f4f090d2c31
parent3cddb04911e74cd66b6cd1ce179abad4fe462a4f (diff)
downloadelibs-a6c9577440582dd22ee02501aeae09673eb2b97c.tar.gz
elibs-a6c9577440582dd22ee02501aeae09673eb2b97c.tar.bz2
mpc nits
-rw-r--r--lib/media/jao-mpc.el4
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 ()