changeset 111514:e21371bab717

* lisp/simple.el (open-line): `newline' may strip trailing space.
author Stefan Monnier <monnier@iro.umontreal.ca>
date Fri, 12 Nov 2010 08:32:02 -0500
parents 7b9b95f705e1
children dd011cba2fbf
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 5 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Fri Nov 12 08:28:17 2010 -0500
+++ b/lisp/ChangeLog	Fri Nov 12 08:32:02 2010 -0500
@@ -1,3 +1,7 @@
+2010-11-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+	* simple.el (open-line): `newline' may strip trailing space.
+
 2010-11-12  Kevin Ryde  <user42@zip.com.au>
 
 	* international/mule-cmds.el (princ-list): Use mapc.
--- a/lisp/simple.el	Fri Nov 12 08:28:17 2010 -0500
+++ b/lisp/simple.el	Fri Nov 12 08:32:02 2010 -0500
@@ -512,7 +512,7 @@
   (interactive "*p")
   (let* ((do-fill-prefix (and fill-prefix (bolp)))
 	 (do-left-margin (and (bolp) (> (current-left-margin) 0)))
-	 (loc (point))
+	 (loc (point-marker))
 	 ;; Don't expand an abbrev before point.
 	 (abbrev-mode nil))
     (newline n)