diff options
author | jao <jao@gnu.org> | 2022-04-13 23:22:36 +0100 |
---|---|---|
committer | jao <jao@gnu.org> | 2022-04-13 23:22:36 +0100 |
commit | 107db50163d21852fe6c25a8eb8b2b308c3ddb4e (patch) | |
tree | a7f4b5044a97b8190a5cf374e824497208d9d0ba /lib/media | |
parent | bc2713fe0934124de02a724d570cd0cd73f2c99c (diff) | |
download | elibs-107db50163d21852fe6c25a8eb8b2b308c3ddb4e.tar.gz elibs-107db50163d21852fe6c25a8eb8b2b308c3ddb4e.tar.bz2 |
nits
Diffstat (limited to 'lib/media')
-rw-r--r-- | lib/media/jao-mpris.el | 5 |
1 files changed, 5 insertions, 0 deletions
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))) |