From 107db50163d21852fe6c25a8eb8b2b308c3ddb4e Mon Sep 17 00:00:00 2001 From: jao Date: Wed, 13 Apr 2022 23:22:36 +0100 Subject: nits --- lib/media/jao-mpris.el | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/media') diff --git a/lib/media/jao-mpris.el b/lib/media/jao-mpris.el index 63a5aae..2537fa8 100644 --- a/lib/media/jao-mpris.el +++ b/lib/media/jao-mpris.el @@ -90,6 +90,11 @@ (defvar jao-mpris--current nil) (defvar jao-mpris-track-string "") +;;;###autoload +(defun jao-mpris-reset () + (interactive) + (setq jao-mpris-track-string "")) + (defun jao-mpris--get (k &optional l) (when-let (v (alist-get k (or l jao-mpris--current))) (if (consp v) (car v) v))) -- cgit v1.2.3