[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/evil 769574aad2: It's more useful if vP flips `evil-kill-o
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/evil 769574aad2: It's more useful if vP flips `evil-kill-on-visual-paste` |
Date: |
Tue, 9 Aug 2022 16:58:21 -0400 (EDT) |
branch: elpa/evil
commit 769574aad2da002a2b312c7f79e2089f3ea01092
Author: Tom Dalziel <tom_dl@hotmail.com>
Commit: Tom Dalziel <33435574+tomdl89@users.noreply.github.com>
It's more useful if vP flips `evil-kill-on-visual-paste`
---
evil-commands.el | 2 +-
evil-vars.el | 6 +++---
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/evil-commands.el b/evil-commands.el
index 89eae27b6a..9756067c9f 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 caa4fb8641..b01ee0aa6a 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)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [nongnu] elpa/evil 769574aad2: It's more useful if vP flips `evil-kill-on-visual-paste`,
ELPA Syncer <=