diff options
Diffstat (limited to 'emms-playlist-mode.el')
-rw-r--r-- | emms-playlist-mode.el | 6 |
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." |