summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorjao <jao@gnu.org>2021-07-04 21:46:43 +0100
committerjao <jao@gnu.org>2021-07-04 21:46:43 +0100
commit5779d68e0dca9b3945883e5c527a3c99ead376bd (patch)
treebdc5190b3c7f70f349b529dc3896a30a6ffd4269
parente7ced2337dc1cca06b6177cb3019fdd5e7ad436b (diff)
downloadelibs-5779d68e0dca9b3945883e5c527a3c99ead376bd.tar.gz
elibs-5779d68e0dca9b3945883e5c527a3c99ead376bd.tar.bz2
fix for mpc listing
-rw-r--r--lib/media/jao-mpc.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/media/jao-mpc.el b/lib/media/jao-mpc.el
index a634840..237c4d8 100644
--- a/lib/media/jao-mpc.el
+++ b/lib/media/jao-mpc.el
@@ -167,7 +167,7 @@
(defun jao-mpc--playlist-buffer (&optional port)
(with-current-buffer (get-buffer-create jao-mpc--playlist)
- (let ((jao-mpc-port port)) (jao-mpc-playlist-mode))
+ (let ((jao-mpc-port (or port jao-mpc-port))) (jao-mpc-playlist-mode))
(current-buffer)))
;;;###autoload