From 5a66ed0f659b03419e0aab65a7841211f82af545 Mon Sep 17 00:00:00 2001 From: David Reitter Date: Sun, 12 Sep 2010 13:46:57 -0400 Subject: [PATCH] simple.el (line-move-visual): Do not truncate goal column to integer size. (Bug#7020) --- lisp/ChangeLog | 5 +++++ lisp/simple.el | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce8d515a107..8ac5a4a4351 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-09-12 David Reitter + + * simple.el (line-move-visual): Do not truncate goal column to + integer size. (Bug#7020) + 2010-09-11 Stefan Monnier * repeat.el (repeat): Allow repeating when the last event is a click. diff --git a/lisp/simple.el b/lisp/simple.el index d5065b73ff9..28b60cc1cf5 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -4193,7 +4193,7 @@ into account variable-width characters and line continuation." (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) -- 2.39.2