bongo-patches
[Top][All Lists]
Advanced

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

[bongo-patches] Fix bug in `bongo-unmark-line' that prevented unmarking


From: Daniel Brockman
Subject: [bongo-patches] Fix bug in `bongo-unmark-line' that prevented unmarking from working properly (reported by Anthony Chaumas-Pellet)
Date: Thu, 05 Apr 2007 13:37:48 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

2007-04-05  Daniel Brockman  <address@hidden>

        Fix bug in `bongo-unmark-line' that prevented unmarking from
        working properly (reported by Anthony Chaumas-Pellet).

diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el  2007-04-05 13:37:46.000000000 +0200
+++ new-bongo/bongo.el  2007-04-05 13:37:46.000000000 +0200
@@ -3533,10 +3533,8 @@
                               (bongo-point-after-object point)))
         ((bongo-marked-track-line-p point)
          (let ((buffer-undo-list t))
-           (bongo-unreference-line-marker point)
-           (setq bongo-marking
-                 (delq (bongo-line-reference-counted-marker point)
-                       bongo-marking))
+           (let ((marker (bongo-unreference-line-marker point)))
+             (setq bongo-marking (delq marker bongo-marking)))
            (bongo-line-remove-property 'bongo-marked point)
            (bongo-redisplay-line point))
          (when (listp buffer-undo-list)
-- 
Daniel Brockman <address@hidden>

reply via email to

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