summaryrefslogtreecommitdiff
path: root/lisp/view.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/view.el')
-rw-r--r--lisp/view.el4
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/view.el b/lisp/view.el
index 2bcb208095a..d290c1c3f5d 100644
--- a/lisp/view.el
+++ b/lisp/view.el
@@ -757,8 +757,8 @@ previous state and go to previous buffer or window."
;; (setq this-command view-last-command-entry))
(defun view-recenter ()
- ;; Center point in window.
- (recenter (/ (view-window-size) 2)))
+ ;; Recenter point in window and redisplay normally.
+ (recenter '(1)))
(defun view-page-size-default (lines)
;; Get page size.