From f0805a50fc393a89ae73c013ebb532c342c5fc28 Mon Sep 17 00:00:00 2001 From: lucas Date: Sun, 18 Sep 2005 00:06:00 +0000 Subject: Fixing emms-playlist-mode-open-buffer darcs-hash:20050918000605-4f952-6867d44d87365efb09189c1641c8ab1114ebd74d.gz --- emms-playlist-mode.el | 6 ++++-- 1 file 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." -- cgit v1.2.3