diff options
author | lucas <lucas> | 2005-09-18 00:06:00 +0000 |
---|---|---|
committer | lucas <mwolson@gnu.org> | 2005-09-18 00:06:00 +0000 |
commit | f0805a50fc393a89ae73c013ebb532c342c5fc28 (patch) | |
tree | b110b656832ef05fb91596f5f6549774bf337175 | |
parent | 82aa0e5fe261e9205392edf65422b4ada0cead1c (diff) |
Fixing emms-playlist-mode-open-buffer
darcs-hash:20050918000605-4f952-6867d44d87365efb09189c1641c8ab1114ebd74d.gz
-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." |