changeset 110351:061976c19319

simple.el (line-move-visual): Do not truncate goal column to integer size. (Bug#7020)
author David Reitter <david.reitter@gmail.com>
date Sun, 12 Sep 2010 13:46:57 -0400
parents b12c513d1606
children 7c4d14415111
files lisp/ChangeLog lisp/simple.el
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sun Sep 12 15:23:59 2010 +0200
+++ b/lisp/ChangeLog	Sun Sep 12 13:46:57 2010 -0400
@@ -1,3 +1,8 @@
+2010-09-12  David Reitter  <david.reitter@gmail.com>
+
+	* simple.el (line-move-visual): Do not truncate goal column to
+	integer size.  (Bug#7020)
+
 2010-09-11  Stefan Monnier  <monnier@iro.umontreal.ca>
 
 	* repeat.el (repeat): Allow repeating when the last event is a click.
--- a/lisp/simple.el	Sun Sep 12 15:23:59 2010 +0200
+++ b/lisp/simple.el	Sun Sep 12 13:46:57 2010 -0400
@@ -4193,7 +4193,7 @@
     (or (and (= (vertical-motion
 		 (cons (or goal-column
 			   (if (consp temporary-goal-column)
-			       (truncate (car temporary-goal-column))
+			       (car temporary-goal-column)
 			     temporary-goal-column))
 		       arg))
 		arg)