From 69e51be8034829b803d478e20f1b79c205aa917e Mon Sep 17 00:00:00 2001 From: Daniel Colascione Date: Fri, 7 Mar 2025 12:17:54 -0800 Subject: [PATCH] Revert "Stop moving markers during erase-in-line" This reverts commit 6f19715937bbeaec5fb80ee9dad0d14b7712a989. (cherry picked from commit ae4671a7abb279aa9f3a9600028bdc85aff27c93) --- lisp/term.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/term.el b/lisp/term.el index c03a5c26c89..0048e0c6908 100644 --- a/lisp/term.el +++ b/lisp/term.el @@ -4031,10 +4031,7 @@ The top-most line is line 0." ;; extra space when wrapped is false. (when wrapped (insert ? )) - ;; If there's a marker at the start of the next line, we shouldn't - ;; disturb it: erase-in-line doesn't change logical - ;; line structure. - (insert-before-markers ?\n) + (insert ?\n) (put-text-property saved-point (point) 'font-lock-face 'default) (goto-char saved-point)))) -- 2.39.5