summaryrefslogtreecommitdiff
path: root/lisp/allout.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2010-11-13 17:55:37 -0800
committerGlenn Morris <rgm@gnu.org>2010-11-13 17:55:37 -0800
commit626b459f3331e9f83ac8c79d267921ecceb94091 (patch)
treeb3c284eb8d5bcdadde1223c98b3a6683adef6f10 /lisp/allout.el
parenta798747d5fc339608bbbe4f46825e1e9edaafcf2 (diff)
downloademacs-626b459f3331e9f83ac8c79d267921ecceb94091.tar.gz
emacs-626b459f3331e9f83ac8c79d267921ecceb94091.tar.bz2
emacs-626b459f3331e9f83ac8c79d267921ecceb94091.zip
Restore clobbered allout.el changes.
Diffstat (limited to 'lisp/allout.el')
-rw-r--r--lisp/allout.el5
1 files changed, 2 insertions, 3 deletions
diff --git a/lisp/allout.el b/lisp/allout.el
index 278fb7673d8..ebc4248e7c9 100644
--- a/lisp/allout.el
+++ b/lisp/allout.el
@@ -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 "\\\\"
;;"\\\\\\|\\{\\|\\}\\|\\_\\|\\$\\|\\\"\\|\\&\\|\\^\\|\\-\\|\\*\\|#"