mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Use (interactive "P") instead of the weird (but equivalent) (interactive (list prefix-arg))
This commit is contained in:
parent
fcbb7a4df9
commit
876937bfa3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user