diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2009-05-26 14:37:51 +0000 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2009-05-26 14:37:51 +0000 |
commit | f2872f04a46404e026afce21904248cbb664bc8c (patch) | |
tree | 0ae261765178ee64aabde06b22dd2cccad504787 /lisp/view.el | |
parent | 66bb84855f71d0fd97736929b39dfce282ec1fff (diff) | |
download | emacs-f2872f04a46404e026afce21904248cbb664bc8c.tar.gz |
* view.el (view-recenter): Allow recenter to compute window height
normally.
Diffstat (limited to 'lisp/view.el')
-rw-r--r-- | lisp/view.el | 4 |
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. |