Mercurial > emacs
comparison lisp/view.el @ 66488:448f6238d8ed
(View-revert-buffer-scroll-page-forward): Use
view-page-size-default.
author | Andreas Schwab <schwab@suse.de> |
---|---|
date | Fri, 28 Oct 2005 09:41:21 +0000 |
parents | 41bb365f41c4 |
children | 78e1225a40a2 |
comparison
equal
deleted
inserted
replaced
66487:02b974c70179 | 66488:448f6238d8ed |
---|---|
872 \\[View-scroll-page-backward-set-page-size]. | 872 \\[View-scroll-page-backward-set-page-size]. |
873 If LINES is more than a window-full, only the last window-full is shown." | 873 If LINES is more than a window-full, only the last window-full is shown." |
874 (interactive "P") | 874 (interactive "P") |
875 (let ((view-scroll-auto-exit nil) | 875 (let ((view-scroll-auto-exit nil) |
876 (view-try-extend-at-buffer-end t)) | 876 (view-try-extend-at-buffer-end t)) |
877 (view-scroll-lines lines nil view-page-size nil))) | 877 (view-scroll-lines lines nil (view-page-size-default view-page-size) nil))) |
878 | 878 |
879 (defun View-search-regexp-forward (n regexp) | 879 (defun View-search-regexp-forward (n regexp) |
880 "Search forward for first (or prefix Nth) occurrence of REGEXP in View mode. | 880 "Search forward for first (or prefix Nth) occurrence of REGEXP in View mode. |
881 | 881 |
882 Displays line found at center of window. Sets mark at starting position and | 882 Displays line found at center of window. Sets mark at starting position and |