emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/evil-surround c43dfec32c 011/175: Update `interactive' for


From: ELPA Syncer
Subject: [nongnu] elpa/evil-surround c43dfec32c 011/175: Update `interactive' forms
Date: Mon, 9 Oct 2023 13:00:59 -0400 (EDT)

branch: elpa/evil-surround
commit c43dfec32c82c9101fa606292e5aea710fa925e5
Author: Vegard Øye <vegard_oye@hotmail.com>
Commit: Vegard Øye <vegard_oye@hotmail.com>

    Update `interactive' forms
    
    Use the code <R> to refer to Evil ranges.
---
 surround.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/surround.el b/surround.el
index 8fe9d463c3..abeb6e4fc7 100644
--- a/surround.el
+++ b/surround.el
@@ -211,7 +211,7 @@ Becomes this:
      :thing
    }"
 
-  (interactive (list (read-char))) ; CHAR
+  (interactive "<R>c")
   (let* ((overlay (make-overlay beg end nil nil t))
          (pair (surround-pair char))
          (open (car pair))
@@ -246,7 +246,7 @@ Becomes this:
 
 (evil-define-operator Surround-region (beg end type char)
   "Call surround-region, toggling force-new-line"
-  (interactive (list (read-char))) ; CHAR
+  (interactive "<R>c")
   (surround-region beg end type char t))
 
 (define-minor-mode surround-mode



reply via email to

[Prev in Thread] Current Thread [Next in Thread]