]> git.eshelyaron.com Git - emacs.git/commitdiff
Revert "Stop moving markers during erase-in-line"
authorDaniel Colascione <dancol@dancol.org>
Fri, 7 Mar 2025 20:17:54 +0000 (12:17 -0800)
committerEshel Yaron <me@eshelyaron.com>
Sun, 9 Mar 2025 10:24:33 +0000 (11:24 +0100)
This reverts commit 6f19715937bbeaec5fb80ee9dad0d14b7712a989.

(cherry picked from commit ae4671a7abb279aa9f3a9600028bdc85aff27c93)

lisp/term.el

index c03a5c26c89c1430d3e68e944849336963e95b6e..0048e0c690856dd63e3e4fd6a62e0e5516f3ae7b 100644 (file)
@@ -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))))