aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--evil-commands.el2
-rw-r--r--evil-vars.el6
2 files changed, 4 insertions, 4 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
diff --git a/evil-vars.el b/evil-vars.el
index caa4fb8..b01ee0a 100644
--- a/evil-vars.el
+++ b/evil-vars.el
@@ -450,9 +450,9 @@ before point."
(defcustom evil-kill-on-visual-paste t
"Whether pasting in visual state adds the replaced text to the
-kill ring, making it the default for the next paste. The default,
-replicates the default Vim behavior for `p'. This is ignored by
-`evil-paste-before' (\\[evil-paste-before]) which never kills on visual paste."
+kill ring, making it the default for the next paste. The default
+replicates the default Vim behavior for `p'. This value is flipped by
+`evil-paste-before' (\\[evil-paste-before])."
:type 'boolean
:group 'evil)