bongo-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bongo-patches] Fix bug in `bongo-reset-playlist' introduced by recent p


From: Daniel Brockman
Subject: [bongo-patches] Fix bug in `bongo-reset-playlist' introduced by recent patch
Date: Sat, 31 Mar 2007 20:32:08 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

2007-03-31  Daniel Brockman  <address@hidden>

        Fix bug in `bongo-reset-playlist' introduced by
        recent patch (reported by Anthony Chaumas-Pellet).

diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el  2007-03-31 20:31:32.000000000 +0200
+++ new-bongo/bongo.el  2007-03-31 20:31:33.000000000 +0200
@@ -7850,9 +7850,10 @@
       (save-excursion
         (goto-char (point-min))
         (while (bongo-snap-to-object-line 'no-error)
-          (bongo-line-remove-property 'bongo-played)
-          (bongo-redisplay-line)
-          (goto-char (bongo-point-after-object)))))))
+          (when (bongo-line-get-property 'bongo-played)
+            (bongo-line-remove-property 'bongo-played)
+            (bongo-redisplay-line))
+          (forward-line 1))))))
 
 (defun bongo-rename-line ()
   "Interactively rename the track at point.
-- 
Daniel Brockman <address@hidden>

reply via email to

[Prev in Thread] Current Thread [Next in Thread]