Minor refactor & revision across the board

This commit is contained in:
Henrik Lissner 2019-09-03 00:59:17 -04:00
parent 4ce86b06d4
commit 81ee250c09
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
7 changed files with 13 additions and 10 deletions

View file

@ -5,6 +5,8 @@
(defun +multiple-cursors/evil-mc-toggle-cursors ()
"Toggle frozen state of evil-mc cursors."
(interactive)
(unless (evil-mc-has-cursors-p)
(user-error "No cursors exist to be toggled"))
(setq evil-mc-frozen (not (and (evil-mc-has-cursors-p)
evil-mc-frozen)))
(if evil-mc-frozen