aboutsummaryrefslogtreecommitdiff
path: root/evil-commands.el
diff options
context:
space:
mode:
Diffstat (limited to 'evil-commands.el')
-rw-r--r--evil-commands.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/evil-commands.el b/evil-commands.el
index 89eae27..9756067 100644
--- a/evil-commands.el
+++ b/evil-commands.el
@@ -2132,7 +2132,7 @@ The return value is the yanked text."
(setq count (prefix-numeric-value count))
(if (evil-visual-state-p)
;; This is the only difference with evil-paste-after in visual-state
- (let ((evil-kill-on-visual-paste nil))
+ (let ((evil-kill-on-visual-paste (not evil-kill-on-visual-paste)))
(evil-visual-paste count register))
(evil-with-undo
(let* ((text (if register