From f4aee5ef9114c91a5ccff78bb3fde2cd89bdbe00 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Renaud=20Casenave-P=C3=A9r=C3=A9?= Date: Thu, 6 Oct 2011 17:36:31 +0900 Subject: [PATCH] Fix goto current song in playlist --- empc.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/empc.el b/empc.el index d15999f..1d2216e 100644 --- a/empc.el +++ b/empc.el @@ -431,9 +431,10 @@ According to what is in the diff, several actions can be performed: (let ((status-diff (empc-diff-status data)) (notify nil)) (when (plist-get status-diff :songid) - (setq notify '(lambda () (when (empc-playlist-songs empc-object) - (empc-echo-song)))) - (empc-playlist-goto-current-song)) + (setq notify '(lambda () + (when (empc-playlist-songs empc-object) + (empc-echo-song)) + (empc-playlist-goto-current-song)))) (when (plist-get status-diff :state) (if (eq (plist-get status-diff :state) 'play) (progn