summaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-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