]> git.eshelyaron.com Git - emacs.git/commitdiff
Restore clobbered allout.el changes.
authorGlenn Morris <rgm@gnu.org>
Sun, 14 Nov 2010 01:55:37 +0000 (17:55 -0800)
committerGlenn Morris <rgm@gnu.org>
Sun, 14 Nov 2010 01:55:37 +0000 (17:55 -0800)
lisp/allout.el

index 278fb7673d8a614e9c022369c2d98943386360d3..ebc4248e7c9ba56daddb82af18bfd2d63ffc12c2 100644 (file)
@@ -1,7 +1,7 @@
 ;;; allout.el --- extensive outline mode for use alone and with other modes
 
 ;; Copyright (C) 1992, 1993, 1994, 2001, 2002, 2003, 2004, 2005,
-;;   2006, 2007, 2008, 2009  Free Software Foundation, Inc.
+;;   2006, 2007, 2008, 2009, 2010  Free Software Foundation, Inc.
 
 ;; Author: Ken Manheimer <ken dot manheimer at gmail dot com>
 ;; Maintainer: Ken Manheimer <ken dot manheimer at gmail dot com>
@@ -5832,8 +5832,7 @@ environment.  Leaves point at the end of the line."
   (let ((inhibit-field-text-motion t))
     (beginning-of-line)
     (let ((beg (point))
-          (end (progn (end-of-line)(point))))
-      (goto-char beg)
+          (end (point-at-eol)))
       (save-match-data
         (while (re-search-forward "\\\\"
   ;;"\\\\\\|\\{\\|\\}\\|\\_\\|\\$\\|\\\"\\|\\&\\|\\^\\|\\-\\|\\*\\|#"