diff --git a/lisp/simple.el b/lisp/simple.el index a9f8b5845d8..1d3be2b1eaf 100644 --- a/lisp/simple.el +++ b/lisp/simple.el @@ -8200,7 +8200,7 @@ If NOERROR, don't signal an error if we can't move that many lines." ;; Move to the desired column. (if (and line-move-visual - (not (or truncate-lines truncate-partial-width-windows))) + (not (or truncate-lines (truncated-partial-width-window-p)))) ;; 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.