aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlucas <lucas>2005-09-18 00:06:00 +0000
committerlucas <mwolson@gnu.org>2005-09-18 00:06:00 +0000
commitf0805a50fc393a89ae73c013ebb532c342c5fc28 (patch)
treeb110b656832ef05fb91596f5f6549774bf337175
parent82aa0e5fe261e9205392edf65422b4ada0cead1c (diff)
Fixing emms-playlist-mode-open-buffer
darcs-hash:20050918000605-4f952-6867d44d87365efb09189c1641c8ab1114ebd74d.gz
-rw-r--r--emms-playlist-mode.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/emms-playlist-mode.el b/emms-playlist-mode.el
index 08cd74c..28c34e6 100644
--- a/emms-playlist-mode.el
+++ b/emms-playlist-mode.el
@@ -243,8 +243,10 @@ of the saved playlist inside."
(with-current-buffer buffer
(setq s (read (buffer-string))))
(kill-buffer buffer)
- (with-current-buffer (get-buffer-create name)
- (insert s))))
+ (with-current-buffer (emms-playlist-new name)
+ (insert s)
+ (emms-playlist-first)
+ (emms-playlist-select (point)))))
(defun emms-playlist-mode-save-active-buffer (filename)
"Saves the active playlist buffer to a file."