Skip to content

Commit 6dbb2d8

Browse files
authored
Always return text from evil-yank-rectangle (#1480)
1 parent ee6f4bd commit 6dbb2d8

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

evil-common.el

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2573,7 +2573,8 @@ The tracked insertion is set to `evil-last-insertion'."
25732573
(when evil-was-yanked-without-register
25742574
(evil-set-register ?0 text)) ; "0 register contains last yanked text
25752575
(unless (eq register ?_)
2576-
(kill-new text)))))
2576+
(kill-new text))
2577+
text)))
25772578

25782579
(defun evil-remove-yank-excluded-properties (text)
25792580
"Removes `yank-excluded-properties' from TEXT."

0 commit comments

Comments
 (0)