aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/textmodes
diff options
context:
space:
mode:
authorEli Zaretskii2005-09-10 15:22:29 +0000
committerEli Zaretskii2005-09-10 15:22:29 +0000
commit0e43543032f5cc902caaed55ac7191f586d9e74b (patch)
treea8429f907b80cfbaf03c3545646d51093163417b /lisp/textmodes
parentc10b0abc3891947ffe2b56ed8228e8d1a8b7c583 (diff)
downloademacs-0e43543032f5cc902caaed55ac7191f586d9e74b.tar.gz
emacs-0e43543032f5cc902caaed55ac7191f586d9e74b.zip
(narrow-to-page): Exclude _entire_ multi-line delimiter from the region
narrowed to.
Diffstat (limited to 'lisp/textmodes')
-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."
112 (save-excursion 112 (save-excursion
113 (goto-char (match-beginning 0)) ; was (beginning-of-line) 113 (goto-char (match-beginning 0)) ; was (beginning-of-line)
114 (looking-at page-delimiter))) 114 (looking-at page-delimiter)))
115 (beginning-of-line)) 115 (goto-char (match-beginning 0))) ; was (beginning-of-line)
116 (narrow-to-region (point) 116 (narrow-to-region (point)
117 (progn 117 (progn
118 ;; Find the top of the page. 118 ;; Find the top of the page.