changeset 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 2a3bcf8d9877
children dd3bf5d37fe2
files lisp/emacs-lisp/easy-mmode.el
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
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)