* lisp/rect.el (rectangle--duplicate-right): Fix rectangle dup bug.

This is a necessary adjustment to changes to rect.el in Emacs 29.
This commit is contained in:
Mattias Engdegård 2023-07-01 12:27:09 +02:00
parent e339d0080d
commit 823bf6bdb1

View file

@ -940,7 +940,8 @@ Ignores `line-move-visual'."
(move-to-column endcol t)
(dotimes (_ n)
(insert (cadr lines)))))
(region-beginning) (region-end))
(min (point) (mark))
(max (point) (mark)))
;; Recompute the rectangle state; no crutches should be needed now.
(let ((p (point))
(m (mark)))