bongo-patches
[Top][All Lists]
Advanced

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

[bongo-patches] Pass `1' to `previous-line' and `next-line', as the argu


From: Daniel Brockman
Subject: [bongo-patches] Pass `1' to `previous-line' and `next-line', as the argument is required in Emacs 21
Date: Fri, 29 Dec 2006 11:20:54 +0100
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Wed Dec 27 16:34:55 CET 2006  Daniel Brockman <address@hidden>

 * Pass `1' to `previous-line' and `next-line', as the
   argument is required in Emacs 21.

diff -rN -u old-bongo/bongo.el new-bongo/bongo.el
--- old-bongo/bongo.el  2006-12-29 11:20:48.000000000 +0100
+++ new-bongo/bongo.el  2006-12-29 11:20:48.000000000 +0100
@@ -1939,7 +1939,7 @@
       (let (match)
         (while (and (not (bobp)) (not match))
           (let ((goal-column 0))
-            (previous-line))
+            (previous-line 1))
           (when (funcall predicate)
             (setq match t)))
         (when match
@@ -1959,7 +1959,7 @@
       (let (match)
         (while (and (not (eobp)) (not match))
           (let ((goal-column 0))
-            (next-line))
+            (next-line 1))
           (when (funcall predicate)
             (setq match t)))
         (when match
-- 
Daniel Brockman <address@hidden>

reply via email to

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