summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2000-10-01 03:38:23 +0000
committerMiles Bader <miles@gnu.org>2000-10-01 03:38:23 +0000
commitaa0c3dca64c5e6fe893163a3242fe77b35094128 (patch)
tree6ddd6dd19cf7cc32985ada6e7f988fe91c33b923 /lisp/emacs-lisp
parent6a0b07524858037f28da740b781a38422cd7439b (diff)
downloademacs-aa0c3dca64c5e6fe893163a3242fe77b35094128.tar.gz
emacs-aa0c3dca64c5e6fe893163a3242fe77b35094128.tar.bz2
emacs-aa0c3dca64c5e6fe893163a3242fe77b35094128.zip
(easy-mmode-define-navigation):
Call `recenter' with an arg to prevent redrawing the display.
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/easy-mmode.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/easy-mmode.el b/lisp/emacs-lisp/easy-mmode.el
index 6b8ab0503f0..46402aa53b1 100644
--- a/lisp/emacs-lisp/easy-mmode.el
+++ b/lisp/emacs-lisp/easy-mmode.el
@@ -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)