branch: externals/mpdired commit 309edb96185271a6c3fb54ef4eb2478dae4f9899 Author: Manuel Giraud <man...@ledu-giraud.fr> Commit: Manuel Giraud <man...@ledu-giraud.fr>
fix `mpdired-goto-current-song' By removing leftover of mpdired--current-song. --- mpdired.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/mpdired.el b/mpdired.el index c63e399108..1bca1c2f7d 100644 --- a/mpdired.el +++ b/mpdired.el @@ -912,9 +912,9 @@ SEPARATOR string." (defun mpdired-goto-current-song () "In the queue view, goes to the line of the currently playing song." (interactive) - (when mpdired--current-song + (when mpdired--song (goto-char (point-min)) - (mpdired--goto-id mpdired--current-song))) + (mpdired--goto-id (car mpdired--song)))) (defun mpdired-toggle-view () "Toggles between the browser and the queue view."