bongo-patches
[Top][All Lists]
Advanced

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

[bongo-patches] Fix bug #18628: ``Broken sectioning: Bongo fails to join


From: Daniel Brockman
Subject: [bongo-patches] Fix bug #18628: ``Broken sectioning: Bongo fails to join albums with just two tracks (maybe?)''
Date: Wed, 07 Feb 2007 00:09:37 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/23.0.51 (gnu/linux)

I hope this is the right fix.


Wed Feb  7 00:06:28 CET 2007  Daniel Brockman <address@hidden>

 * Fix bug #18628: ``Broken sectioning: Bongo fails to join
   albums with just two tracks (maybe?)''.

diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el  2007-02-07 00:08:26.000000000 +0100
+++ new-bongo/bongo.el  2007-02-07 00:08:26.000000000 +0100
@@ -2893,8 +2893,8 @@
       (bongo-ignore-movement-errors
         (bongo-snap-to-object-line)
         (let ((last (bongo-line-field-value field)))
-          (while (and (< (point) end) result)
-            (bongo-next-object-line)
+          (while (progn (bongo-next-object-line)
+                        (and (< (point) end) result))
             (let ((current (bongo-line-field-value field)))
               (if (bongo-joinable-field-values-p last current)
                   (when (or last current)
-- 
Daniel Brockman <address@hidden>

reply via email to

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