summaryrefslogtreecommitdiff
path: root/lisp/textmodes/page.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2005-09-10 15:22:29 +0000
committerEli Zaretskii <eliz@gnu.org>2005-09-10 15:22:29 +0000
commit0e43543032f5cc902caaed55ac7191f586d9e74b (patch)
treea8429f907b80cfbaf03c3545646d51093163417b /lisp/textmodes/page.el
parentc10b0abc3891947ffe2b56ed8228e8d1a8b7c583 (diff)
downloademacs-0e43543032f5cc902caaed55ac7191f586d9e74b.tar.gz
(narrow-to-page): Exclude _entire_ multi-line delimiter from the region
narrowed to.
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.