summaryrefslogtreecommitdiff
path: root/modules/music-config.el
diff options
context:
space:
mode:
Diffstat (limited to 'modules/music-config.el')
-rw-r--r--modules/music-config.el6
1 files changed, 4 insertions, 2 deletions
diff --git a/modules/music-config.el b/modules/music-config.el
index d281c329..d24018ac 100644
--- a/modules/music-config.el
+++ b/modules/music-config.el
@@ -331,7 +331,8 @@ Replaces current playlist."
(emms-playlist-clear)
(emms-play-playlist choice-file)
(with-current-buffer (cj/music--ensure-playlist-buffer)
- (setq cj/music-playlist-file choice-file))
+ (setq cj/music-playlist-file choice-file)
+ (goto-char (point-min)))
(message "Loaded playlist: %s" choice-name))))
@@ -377,7 +378,8 @@ Offers completion over existing names but allows new names."
(emms-playlist-clear)
(emms-play-playlist file-path)
(with-current-buffer (cj/music--ensure-playlist-buffer)
- (setq cj/music-playlist-file file-path))
+ (setq cj/music-playlist-file file-path)
+ (goto-char (point-min)))
(message "Reloaded playlist: %s" name)))