mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-12-27 10:54:40 +00:00
Fix last change in line-move-finish
* lisp/simple.el (line-move-finish): Fix last change. This corrects a regression in C-n and C-p when lines are truncated, introduced by the change in 2017-05-10.
This commit is contained in:
parent
8deef1d6a7
commit
f6816a659c
@ -6399,7 +6399,8 @@ If NOERROR, don't signal an error if we can't move that many lines."
|
||||
(point))))
|
||||
|
||||
;; Move to the desired column.
|
||||
(if line-move-visual
|
||||
(if (and line-move-visual
|
||||
(not (or truncate-lines truncate-partial-width-windows)))
|
||||
;; Under line-move-visual, goal-column should be
|
||||
;; interpreted in units of the frame's canonical character
|
||||
;; width, which is exactly what vertical-motion does.
|
||||
|
Loading…
Reference in New Issue
Block a user