Fix 'next-line' in batch mode.
* lisp/simple.el (line-move-finish): Don't use 'vertical-motion' in batch mode. Reported by john muhl <jm@pub.pink>. (Bug#72420)
This commit is contained in:
parent
88b51c1c6b
commit
c1181975ef
1 changed files with 1 additions and 0 deletions
|
@ -8200,6 +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 noninteractive)
|
||||
(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
|
||||
|
|
Loading…
Add table
Reference in a new issue