branch: externals/mpdired
commit b94fd3df8d4ca636b978db580518c68929e1f8ee
Author: Manuel Giraud <man...@ledu-giraud.fr>
Commit: Manuel Giraud <man...@ledu-giraud.fr>

    save point when jumping to current song
---
 mpdired.el | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/mpdired.el b/mpdired.el
index 5e9e0d7c4a..fc37122590 100644
--- a/mpdired.el
+++ b/mpdired.el
@@ -914,7 +914,8 @@ SEPARATOR string."
   (interactive)
   (when mpdired--song
     (goto-char (point-min))
-    (mpdired--goto-id (car mpdired--song))))
+    (mpdired--goto-id (car mpdired--song))
+    (mpdired--save-point)))
 
 (defun mpdired-toggle-view ()
   "Toggles between the browser and the queue view."

Reply via email to