diff options
author | forcer <forcer> | 2005-09-17 23:49:00 +0000 |
---|---|---|
committer | forcer <mwolson@gnu.org> | 2005-09-17 23:49:00 +0000 |
commit | 82aa0e5fe261e9205392edf65422b4ada0cead1c (patch) | |
tree | 8a314258f8151409476e95bf5c6c46086e2029c6 | |
parent | b442a6a3ab4de2258ceb2625a08a8e87931bb765 (diff) |
emms-playlist-select should not switch to the playlist buffer.
darcs-hash:20050917234943-2189f-af7835eb6a888554adbb38ebff4e5bc0c9169c2d.gz
-rw-r--r-- | emms.el | 11 |
1 files changed, 5 insertions, 6 deletions
@@ -593,12 +593,11 @@ If no playlist exists, a new one is generated." (defun emms-playlist-select (pos) "Select the track at POS." - (with-current-emms-playlist - (when (not (emms-playlist-track-at pos)) - (error "No track at position %s" pos)) - (when (not emms-playlist-selected-marker) - (setq emms-playlist-selected-marker (make-marker))) - (set-marker emms-playlist-selected-marker pos)) + (when (not (emms-playlist-track-at pos)) + (error "No track at position %s" pos)) + (when (not emms-playlist-selected-marker) + (setq emms-playlist-selected-marker (make-marker))) + (set-marker emms-playlist-selected-marker pos) (run-hooks 'emms-playlist-selection-changed-hook)) (defun emms-playlist-select-next () |