aboutsummaryrefslogtreecommitdiff
path: root/emms-playlist-mode.el
diff options
context:
space:
mode:
authorMichael Olson <mwolson@gnu.org>2006-05-31 20:38:00 +0000
committerMichael Olson <mwolson@gnu.org>2006-05-31 20:38:00 +0000
commit8027bb23119322eaf6c4601fbd4e3ae31b88961f (patch)
treecfe95f7ff9765bb019cd3049db242d5d00bb1f38 /emms-playlist-mode.el
parentec34941c7896238b2219165e2131b7b947f8393c (diff)
Make handling of multiple playlist buffers less error-prone.
darcs-hash:20060531203810-1bfb2-7a5c8ca307d33ea501871a6222ab76ad4ada498d.gz
Diffstat (limited to 'emms-playlist-mode.el')
-rw-r--r--emms-playlist-mode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el
index 3f673cb..4f6ac2a 100644
--- a/emms-playlist-mode.el
+++ b/emms-playlist-mode.el
@@ -440,7 +440,8 @@ This preserves the current EMMS buffer."
(type (emms-track-get track 'type)))
(emms-playlist-select (point))
(run-hooks 'emms-player-stopped-hook)
- (switch-to-buffer (setq emms-playlist-buffer (emms-playlist-new)))
+ (switch-to-buffer
+ (emms-playlist-set-playlist-buffer (emms-playlist-new)))
(emms-add-playlist name)))
;;; --------------------------------------------------------