* view.el (view-recenter): Allow recenter to compute window height
normally.
This commit is contained in:
parent
66bb84855f
commit
f2872f04a4
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2009-05-26 Chong Yidong <cyd@stupidchicken.com>
|
||||||
|
|
||||||
|
* view.el (view-recenter): Allow recenter to compute window height
|
||||||
|
normally.
|
||||||
|
|
||||||
2009-05-26 Kenichi Handa <handa@m17n.org>
|
2009-05-26 Kenichi Handa <handa@m17n.org>
|
||||||
|
|
||||||
* textmodes/table.el (table--unibyte-char-to-multibyte): Function
|
* textmodes/table.el (table--unibyte-char-to-multibyte): Function
|
||||||
|
|
|
@ -757,8 +757,8 @@ previous state and go to previous buffer or window."
|
||||||
;; (setq this-command view-last-command-entry))
|
;; (setq this-command view-last-command-entry))
|
||||||
|
|
||||||
(defun view-recenter ()
|
(defun view-recenter ()
|
||||||
;; Center point in window.
|
;; Recenter point in window and redisplay normally.
|
||||||
(recenter (/ (view-window-size) 2)))
|
(recenter '(1)))
|
||||||
|
|
||||||
(defun view-page-size-default (lines)
|
(defun view-page-size-default (lines)
|
||||||
;; Get page size.
|
;; Get page size.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue