diff options
Diffstat (limited to 'lisp/textmodes/page.el')
| -rw-r--r-- | lisp/textmodes/page.el | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el index e650a88f6f3..79976459ff6 100644 --- a/lisp/textmodes/page.el +++ b/lisp/textmodes/page.el @@ -149,10 +149,9 @@ thus showing a page other than the one point was originally in." (save-restriction (widen) (save-excursion - (beginning-of-line) (let ((count 1) (opoint (point))) - (goto-char 1) + (goto-char (point-min)) (while (re-search-forward page-delimiter opoint t) (setq count (1+ count))) (message "Page %d, line %d" |
