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

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

[nongnu] elpa/multiple-cursors 7763f4f 429/434: Load mc-cycle-cursors an


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors 7763f4f 429/434: Load mc-cycle-cursors and mc-hide-unmatched-lines-mode after loading multiple-cursors-core
Date: Sat, 7 Aug 2021 09:21:14 -0400 (EDT)

branch: elpa/multiple-cursors
commit 7763f4f9d7b9d2a4eb08a1f94699edaeb4f433ed
Author: Masahiro Nakamura <13937915+tsuu32@users.noreply.github.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Load mc-cycle-cursors and mc-hide-unmatched-lines-mode after loading 
multiple-cursors-core
    
    This is useful with autoloaded commands.
---
 mc-hide-unmatched-lines-mode.el | 5 +++--
 multiple-cursors-core.el        | 2 ++
 multiple-cursors.el             | 2 --
 3 files changed, 5 insertions(+), 4 deletions(-)

diff --git a/mc-hide-unmatched-lines-mode.el b/mc-hide-unmatched-lines-mode.el
index 0167dbc..18d09d8 100644
--- a/mc-hide-unmatched-lines-mode.el
+++ b/mc-hide-unmatched-lines-mode.el
@@ -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)
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 5d8cb8a..5b6ef5a 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -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
diff --git a/multiple-cursors.el b/multiple-cursors.el
index e78bab3..47f6338 100644
--- a/multiple-cursors.el
+++ b/multiple-cursors.el
@@ -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)
 



reply via email to

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