aboutsummaryrefslogtreecommitdiff
path: root/emms.el
diff options
context:
space:
mode:
Diffstat (limited to 'emms.el')
-rw-r--r--emms.el2
1 files changed, 2 insertions, 0 deletions
diff --git a/emms.el b/emms.el
index f3a2ce0..f75c501 100644
--- a/emms.el
+++ b/emms.el
@@ -639,6 +639,7 @@ This uses `emms-playlist-insert-track-function'."
(defun emms-playlist-simple-shuffle ()
"Shuffle the whole playlist buffer."
(let ((current nil))
+ (widen)
(when emms-player-playing-p
(setq current (emms-playlist-selected-track))
(goto-char emms-playlist-selected-marker)
@@ -661,6 +662,7 @@ This uses `emms-playlist-insert-track-function'."
(defun emms-playlist-simple-sort ()
"Sort the whole playlist buffer."
+ (widen)
(let ((current (emms-playlist-selected-track))
(tracks (emms-playlist-tracks-in-region (point-min)
(point-max))))