Mercurial > emacs
diff lisp/emacs-lisp/easy-mmode.el @ 32051:af9abfeed429
(easy-mmode-define-navigation):
Call `recenter' with an arg to prevent redrawing the display.
author | Miles Bader <miles@gnu.org> |
---|---|
date | Sun, 01 Oct 2000 03:36:55 +0000 |
parents | 39617f078b9d |
children | 883b83d07a24 |
line wrap: on
line diff
--- 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)