diff options
author | Michael Olson <mwolson@gnu.org> | 2006-05-31 20:38:00 +0000 |
---|---|---|
committer | Michael Olson <mwolson@gnu.org> | 2006-05-31 20:38:00 +0000 |
commit | 8027bb23119322eaf6c4601fbd4e3ae31b88961f (patch) | |
tree | cfe95f7ff9765bb019cd3049db242d5d00bb1f38 /emms-playlist-mode.el | |
parent | ec34941c7896238b2219165e2131b7b947f8393c (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.el | 3 |
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))) ;;; -------------------------------------------------------- |