projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e339d00
)
* lisp/rect.el (rectangle--duplicate-right): Fix rectangle dup bug.
author
Mattias Engdegård
<mattiase@acm.org>
Sat, 1 Jul 2023 10:27:09 +0000
(12:27 +0200)
committer
Mattias Engdegård
<mattiase@acm.org>
Sat, 1 Jul 2023 10:33:16 +0000
(12:33 +0200)
This is a necessary adjustment to changes to rect.el in Emacs 29.
lisp/rect.el
patch
|
blob
|
history
diff --git
a/lisp/rect.el
b/lisp/rect.el
index 5ff821abb3fae367c9ef176ded274f3412aef0ee..cdfd0764b998e480fd84b832e333050b9cfa65b9 100644
(file)
--- a/
lisp/rect.el
+++ b/
lisp/rect.el
@@
-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)))