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

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

[nongnu] elpa/multiple-cursors 876937b 153/434: Use (interactive "P") in


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 876937b 153/434: Use (interactive "P") instead of the weird (but equivalent) (interactive (list prefix-arg))
Date: Sat, 7 Aug 2021 09:20:15 -0400 (EDT)

branch: elpa/multiple-cursors
commit 876937bfa3d2d341434a6913cdff1060eb25bd48
Author: Marco Baringer <mb@bese.it>
Commit: Marco Baringer <mb@bese.it>

    Use (interactive "P") instead of the weird (but equivalent) (interactive 
(list prefix-arg))
---
 mc-cycle-cursors.el | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mc-cycle-cursors.el b/mc-cycle-cursors.el
index 2aaade0..643f00e 100644
--- a/mc-cycle-cursors.el
+++ b/mc-cycle-cursors.el
@@ -55,7 +55,7 @@
     prev))
 
 (defun mc/cycle-forward (&optional error-if-no-next-cursor)
-  (interactive (list prefix-arg))
+  (interactive "P")
   (let ((next-cursor (mc/next-cursor-after-point)))
     (cond
      (next-cursor 
@@ -68,7 +68,7 @@
       (mc/cycle-backward t)))))
 
 (defun mc/cycle-backward (&optional error-if-no-previous-cursor)
-  (interactive (list prefix-arg))
+  (interactive "P")
   (let ((prev-cursor (mc/prev-cursor-before-point)))
     (cond 
      (prev-cursor



reply via email to

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