Load mc-cycle-cursors and mc-hide-unmatched-lines-mode after loading multiple-cursors-core

This is useful with autoloaded commands.
This commit is contained in:
Masahiro Nakamura 2020-10-18 04:15:10 +09:00 committed by Magnar Sveen
parent 6a04a147ce
commit 7763f4f9d7
3 changed files with 5 additions and 4 deletions

View File

@ -1,4 +1,4 @@
;;; mc-hide-unmatched-lines.el
;;; mc-hide-unmatched-lines-mode.el
;; Copyright (C) 2014 Aleksey Fedotov
@ -103,5 +103,6 @@ mode. To leave this mode press <return> or \"C-g\""
(defun hum/unhide-unmatched-lines ()
(remove-overlays nil nil hum/invisible-overlay-name t))
(provide 'mc-hide-unmatched-lines-mode)
(define-key mc/keymap (kbd "C-'") 'mc-hide-unmatched-lines-mode)
(provide 'mc-hide-unmatched-lines-mode)

View File

@ -844,6 +844,8 @@ for running commands with multiple cursors."
"Commands to run for all cursors in multiple-cursors-mode")
(provide 'multiple-cursors-core)
(require 'mc-cycle-cursors)
(require 'mc-hide-unmatched-lines-mode)
;; Local Variables:
;; coding: utf-8

View File

@ -191,12 +191,10 @@
:group 'editing)
(require 'mc-edit-lines)
(require 'mc-cycle-cursors)
(require 'mc-mark-more)
(require 'mc-mark-pop)
(require 'rectangular-region-mode)
(require 'mc-separate-operations)
(require 'mc-hide-unmatched-lines-mode)
(provide 'multiple-cursors)