branch: elpa/multiple-cursors
commit cd967e720fa125b74b51e3f0217562d6743d12fb
Author: Sean Allred <[email protected]>
Commit: Sean Allred <[email protected]>
Small optimization
If we remove the ceiling entirely, we won't even enter the form that
checks values, etc.
---
multiple-cursors-core.el | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 0388631..cba6da6 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -462,8 +462,7 @@ The entries are returned in the order they are found in the
buffer."
(defun mc--maybe-set-killed-rectangle ()
"Add the latest kill-ring entry for each cursor to killed-rectangle.
So you can paste it in later with `yank-rectangle'."
- (let ((entries (let ((mc--active-cursor-count -1))
- (mc--kill-ring-entries))))
+ (let ((entries (let (mc/max-cursors) (mc--kill-ring-entries))))
(unless (mc--all-equal entries)
(setq killed-rectangle entries))))