(easy-mmode-define-navigation):
authorMiles Bader <miles@gnu.org>
Sun, 1 Oct 2000 03:38:23 +0000 (03:38 +0000)
committerMiles Bader <miles@gnu.org>
Sun, 1 Oct 2000 03:38:23 +0000 (03:38 +0000)
  Call `recenter' with an arg to prevent redrawing the display.

lisp/ChangeLog
lisp/emacs-lisp/easy-mmode.el

index f602121..edcab71 100644 (file)
@@ -1,3 +1,8 @@
+2000-10-01  Miles Bader  <miles@gnu.org>
+
+       * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation): Call
+       `recenter' with an arg to prevent redrawing the display.
+
 2000-09-30  Stefan Monnier  <monnier@cs.yale.edu>
 
        * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name): Prettier.
index 6b8ab05..46402aa 100644 (file)
@@ -515,7 +515,8 @@ ENDFUN should return the end position (with or without moving point)."
                                ,(if endfun `(,endfun)
                                   `(re-search-forward ,re nil t 2)))
                              (point-max))))
-              (unless (<= endpt (window-end)) (recenter))))))
+              (unless (<= endpt (window-end))
+                (recenter '(0)))))))
        (defun ,prev-sym (&optional count)
         ,(format "Go to the previous COUNT'th %s" (or name base-name))
         (interactive)