]> git.eshelyaron.com Git - emacs.git/commitdiff
(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 f602121d4c74bb04f741aa55e34b0a8a7d1ed032..edcab7157b391d0a9744b485df5ac54b474b34e0 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 6b8ab0503f074028e0c558346e24e56d07b651b8..46402aa53b1ddf203c24625e4550fe7a262bc386 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)