]> code.delx.au - gnu-emacs/blobdiff - lisp/textmodes/page.el
Merge from emacs--rel--22
[gnu-emacs] / lisp / textmodes / page.el
index f033a8504c826024dcb2fc03e895d6cdc1930b9c..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
@@ -19,8 +20,8 @@
 
 ;; You should have received a copy of the GNU General Public License
 ;; along with GNU Emacs; see the file COPYING.  If not, write to the
-;; Free Software Foundation, Inc., 59 Temple Place - Suite 330,
-;; Boston, MA 02111-1307, USA.
+;; Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
+;; Boston, MA 02110-1301, USA.
 
 ;;; Commentary:
 
@@ -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.