[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] externals/listen 748a148188 11/12: Fix: (listen-current-player)
From: |
ELPA Syncer |
Subject: |
[elpa] externals/listen 748a148188 11/12: Fix: (listen-current-player) |
Date: |
Sun, 18 Aug 2024 06:58:37 -0400 (EDT) |
branch: externals/listen
commit 748a148188fbcd5a5777e79663225638633ab192
Author: Adam Porter <adam@alphapapa.net>
Commit: Adam Porter <adam@alphapapa.net>
Fix: (listen-current-player)
I thought that DEFVAR could be used there, but apparently not.
---
listen-lib.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/listen-lib.el b/listen-lib.el
index 7287e774f4..85d400f09e 100644
--- a/listen-lib.el
+++ b/listen-lib.el
@@ -141,8 +141,9 @@ return a list of values; otherwise return the sole value."
(defun listen-current-player ()
"Return variable `listen-player' or a newly set one if nil."
+ (defvar listen-backend)
(or listen-player
- (setf listen-player (funcall (defvar listen-backend)))))
+ (setf listen-player (funcall listen-backend))))
(cl-defun listen-current-track (&optional (player listen-player))
"Return track playing on PLAYER, if any."
- [elpa] externals/listen updated (d97f308f34 -> c5b7f0b524), ELPA Syncer, 2024/08/18
- [elpa] externals/listen 40adfdeffa 03/12: Fix: (listen--status MPV) Variable, ELPA Syncer, 2024/08/18
- [elpa] externals/listen d75248f11c 06/12: Tidy: Compilation warning, ELPA Syncer, 2024/08/18
- [elpa] externals/listen eedac8822b 08/12: Docs: Clarify, ELPA Syncer, 2024/08/18
- [elpa] externals/listen ffb0a91371 01/12: Add: (listen-mpv) MPV support, ELPA Syncer, 2024/08/18
- [elpa] externals/listen f9d95497cd 04/12: Tidy: (listen--send MPV), ELPA Syncer, 2024/08/18
- [elpa] externals/listen c5b7f0b524 12/12: Docs: Mention MPV-MPRIS, ELPA Syncer, 2024/08/18
- [elpa] externals/listen 193e04b3aa 02/12: Merge: MPV support, ELPA Syncer, 2024/08/18
- [elpa] externals/listen 9d64fd574b 09/12: Docs: Add ELPA-devel badge, ELPA Syncer, 2024/08/18
- [elpa] externals/listen 748a148188 11/12: Fix: (listen-current-player),
ELPA Syncer <=
- [elpa] externals/listen 35e6b832e5 05/12: Tidy: Indentation, ELPA Syncer, 2024/08/18
- [elpa] externals/listen be91375f7e 10/12: Docs: Update another player mention, ELPA Syncer, 2024/08/18
- [elpa] externals/listen 94c0432a21 07/12: Docs: Update player mentions, ELPA Syncer, 2024/08/18