[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#29118: 25.2.50; Undoing shell flush output results in weird state
From: |
Stefan Monnier |
Subject: |
bug#29118: 25.2.50; Undoing shell flush output results in weird state |
Date: |
Mon, 13 Nov 2017 08:26:02 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> --- i/lisp/simple.el
> +++ w/lisp/simple.el
> @@ -2579,7 +2579,7 @@ primitive-undo
> (let* ((marker-adj (pop list))
> (m (car marker-adj)))
> (and (eq (marker-buffer m) (current-buffer))
> - (= pos m)
> + (= (abs pos) m)
> (push marker-adj valid-marker-adjustments))))
> ;; Insert string and adjust point
> (if (< pos 0)
Looks correct to me, this belongs in emacs-26, thanks.
Stefan