diff options
author | David Reitter <[email protected]> | 2010-09-12 13:46:57 -0400 |
---|---|---|
committer | David Reitter <[email protected]> | 2010-09-12 13:46:57 -0400 |
commit | 5a66ed0f659b03419e0aab65a7841211f82af545 (patch) | |
tree | 3b039efe268be3997253d436e305e44a7040adba | |
parent | 5f61a25c8a76b1bd2fc16872f4160956c3bd0cb5 (diff) |
simple.el (line-move-visual): Do not truncate goal column to integer size.
(Bug#7020)
-rw-r--r-- | lisp/ChangeLog | 5 | ||||
-rw-r--r-- | lisp/simple.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ce8d515a10..8ac5a4a435 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2010-09-12 David Reitter <[email protected]> + + * simple.el (line-move-visual): Do not truncate goal column to + integer size. (Bug#7020) + 2010-09-11 Stefan Monnier <[email protected]> * repeat.el (repeat): Allow repeating when the last event is a click. diff --git a/lisp/simple.el b/lisp/simple.el index d5065b73ff..28b60cc1cf 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) |