mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Bugfix for sort/reverse regions w/similar contents
This commit is contained in:
parent
cb7a145153
commit
16add89d29
@ -48,9 +48,9 @@
|
|||||||
(let (strings)
|
(let (strings)
|
||||||
(save-excursion
|
(save-excursion
|
||||||
(mc/for-each-cursor-ordered
|
(mc/for-each-cursor-ordered
|
||||||
(add-to-list 'strings (buffer-substring-no-properties
|
(setq strings (cons (buffer-substring-no-properties
|
||||||
(mc/cursor-beg cursor)
|
(mc/cursor-beg cursor)
|
||||||
(mc/cursor-end cursor))))strings)
|
(mc/cursor-end cursor)) strings))))
|
||||||
(nreverse strings)))
|
(nreverse strings)))
|
||||||
|
|
||||||
(defvar mc--strings-to-replace nil)
|
(defvar mc--strings-to-replace nil)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user