summaryrefslogtreecommitdiff
path: root/lisp/textmodes/page.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/textmodes/page.el')
-rw-r--r--lisp/textmodes/page.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/textmodes/page.el b/lisp/textmodes/page.el
index ffb4c89f2db..3ec1eca1fb7 100644
--- a/lisp/textmodes/page.el
+++ b/lisp/textmodes/page.el
@@ -112,7 +112,7 @@ thus showing a page other than the one point was originally in."
(save-excursion
(goto-char (match-beginning 0)) ; was (beginning-of-line)
(looking-at page-delimiter)))
- (beginning-of-line))
+ (goto-char (match-beginning 0))) ; was (beginning-of-line)
(narrow-to-region (point)
(progn
;; Find the top of the page.