]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/page.el
Merge from emacs--rel--22
[gnu-emacs] / lisp / textmodes / page.el
index 712b1ef12a10af9ff6ee64b2b64c97425aa25768..7b7fb474afcc1d3291c0e815b7fd61e99728f54e 100644 (file)
@@ -1,6 +1,7 @@
 ;;; page.el --- page motion commands for Emacs
 
-;; Copyright (C) 1985 Free Software Foundation, Inc.
+;; Copyright (C) 1985, 2001, 2002, 2003, 2004, 2005,
+;;   2006, 2007 Free Software Foundation, Inc.
 
 ;; Maintainer: FSF
 ;; Keywords: wp convenience
@@ -112,7 +113,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.