]> git.eshelyaron.com Git - emacs.git/commitdiff
(narrow-to-page): Exclude _entire_ multi-line delimiter from the region
authorEli Zaretskii <eliz@gnu.org>
Sat, 10 Sep 2005 15:22:29 +0000 (15:22 +0000)
committerEli Zaretskii <eliz@gnu.org>
Sat, 10 Sep 2005 15:22:29 +0000 (15:22 +0000)
narrowed to.

lisp/ChangeLog
lisp/textmodes/page.el

index ba777467eb6d8d97b024e110ab3ae489f7369003..a019c5a9f0875549e32fbdb6d2f495f5f04477fa 100644 (file)
@@ -1,3 +1,8 @@
+2005-09-10  Alan Mackenzie  <acm@muc.de>
+
+       * page.el (narrow-to-page): Exclude _entire_ multi-line delimiter
+       from the region narrowed to.
+
 2005-09-10  Magnus Henoch  <mange@freemail.hu>
 
        * textmodes/ispell.el (ispell-check-version): Signal an error if
index ffb4c89f2db617ac5d91aa05422f4aa0004d7810..3ec1eca1fb7b33188b8534ef6796529b3e9acf26 100644 (file)
@@ -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.