Hook is implied in :hook

This commit is contained in:
larstvei 2024-09-22 10:39:38 +02:00
parent 32cbab47f8
commit 82790351a1

View File

@ -1097,8 +1097,8 @@
;; Multiple cursors for Emacs ;; Multiple cursors for Emacs
(use-package multiple-cursors (use-package multiple-cursors
:defer t :defer t
:hook ((multiple-cursors-mode-enabled-hook . (lambda () (corfu-mode -1))) :hook ((multiple-cursors-mode-enabled . (lambda () (corfu-mode -1)))
(multiple-cursors-mode-disabled-hook . (lambda () (corfu-mode 1)))) (multiple-cursors-mode-disabled . (lambda () (corfu-mode 1))))
:bind (:map custom-bindings-map :bind (:map custom-bindings-map
("C-c e" . mc/edit-lines) ("C-c e" . mc/edit-lines)
("C-c a" . mc/mark-all-like-this) ("C-c a" . mc/mark-all-like-this)