changeset 65435:f869318329b5

(narrow-to-page): Exclude _entire_ multi-line delimiter from the region narrowed to.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 10 Sep 2005 15:21:20 +0000
parents 6ad2caaeea0f
children 1bbab0e3947a
files lisp/textmodes/page.el
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/textmodes/page.el	Sat Sep 10 15:09:06 2005 +0000
+++ b/lisp/textmodes/page.el	Sat Sep 10 15:21:20 2005 +0000
@@ -112,7 +112,7 @@
 	     (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.