bongo-patches
[Top][All Lists]
Advanced

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

[bongo-patches] Bind `line-move-ignore-invisible' to nil in `bongo-empty


From: Daniel Brockman
Subject: [bongo-patches] Bind `line-move-ignore-invisible' to nil in `bongo-empty-section-p'
Date: Fri, 06 Apr 2007 18:57:14 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.92 (gnu/linux)

2007-04-06  Daniel Jensen  <address@hidden>

        Bind `line-move-ignore-invisible' to nil in
        `bongo-empty-section-p'.

diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el  2007-04-06 18:57:13.000000000 +0200
+++ new-bongo/bongo.el  2007-04-06 18:57:13.000000000 +0200
@@ -2839,10 +2839,11 @@
 That is, the header line of a section that has no content."
   (and (bongo-header-line-p point)
        (catch 'return
-         (not (> (bongo-line-indentation
-                  (or (bongo-point-at-next-object-line point)
-                      (throw 'return t)))
-                 (bongo-line-indentation point))))))
+         (let ((line-move-ignore-invisible nil))
+           (not (> (bongo-line-indentation
+                    (or (bongo-point-at-next-object-line point)
+                        (throw 'return t)))
+                   (bongo-line-indentation point)))))))
 
 
 ;;;; General convenience routines
-- 
Daniel Brockman <address@hidden>

reply via email to

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