branch: externals/mpdired
commit 7bbcf712a1f9cdd88c51fe511e5a75e7a8feae38
Author: Manuel Giraud <[email protected]>
Commit: Manuel Giraud <[email protected]>
fix a bug on progress bar
---
mpdired.el | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)
diff --git a/mpdired.el b/mpdired.el
index 6a834f284f..bc60b0ea25 100644
--- a/mpdired.el
+++ b/mpdired.el
@@ -222,9 +222,10 @@
(mpdired--insert-song song)
(insert "\n"))
(when songs
- (mpdired--insert-song (car (last songs))))
- ;; Go to the current song and display elasped time with a face
- ;; on the URI.
+ (mpdired--insert-song (car (last songs)))))
+ ;; Go to the current song and display elasped time with a face
+ ;; on the URI.
+ (save-excursion
(when songid
(while (let ((id (get-text-property (point) 'id)))
(and id (/= songid id)))