# HG changeset patch # User Miles Bader # Date 970371415 0 # Node ID af9abfeed4298294278ea1abb39fc88718dad920 # Parent 2a3bcf8d9877d750bba4648f4f2544ff492a4448 (easy-mmode-define-navigation): Call `recenter' with an arg to prevent redrawing the display. diff -r 2a3bcf8d9877 -r af9abfeed429 lisp/emacs-lisp/easy-mmode.el --- a/lisp/emacs-lisp/easy-mmode.el Sun Oct 01 03:22:26 2000 +0000 +++ b/lisp/emacs-lisp/easy-mmode.el Sun Oct 01 03:36:55 2000 +0000 @@ -515,7 +515,8 @@ ,(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)