From b912bf80b1a5a815152554872e28dbf1b8c33922 Mon Sep 17 00:00:00 2001 From: Magnar Sveen Date: Thu, 2 Aug 2012 10:34:48 +0200 Subject: [PATCH] Always require multiple-cursors-core --- mc-cycle-cursors.el | 2 ++ mc-edit-lines.el | 2 ++ mc-mark-more.el | 2 ++ mc-mark-multiple-integration.el | 2 +- rectangular-region-mode.el | 1 - 5 files changed, 7 insertions(+), 2 deletions(-) diff --git a/mc-cycle-cursors.el b/mc-cycle-cursors.el index d26bd82..f70a96a 100644 --- a/mc-cycle-cursors.el +++ b/mc-cycle-cursors.el @@ -26,6 +26,8 @@ ;;; Code: +(require 'multiple-cursors-core) + (eval-when-compile (require 'cl)) (defun mc/next-cursor-after-point () diff --git a/mc-edit-lines.el b/mc-edit-lines.el index 7234f3d..52aec10 100644 --- a/mc-edit-lines.el +++ b/mc-edit-lines.el @@ -27,6 +27,8 @@ ;;; Code: +(require 'multiple-cursors-core) + (defun mc/edit-lines () "Add one cursor to each line of the active region. Starts from mark and moves in straight down or up towards the diff --git a/mc-mark-more.el b/mc-mark-more.el index 133b93b..a0f134f 100644 --- a/mc-mark-more.el +++ b/mc-mark-more.el @@ -27,6 +27,8 @@ ;;; Code: +(require 'multiple-cursors-core) + (defun mc/cursor-end (cursor) (if (overlay-get cursor 'mark-active) (max (overlay-get cursor 'point) diff --git a/mc-mark-multiple-integration.el b/mc-mark-multiple-integration.el index e087aed..51366a4 100644 --- a/mc-mark-multiple-integration.el +++ b/mc-mark-multiple-integration.el @@ -24,7 +24,7 @@ ;;; Code: - +(require 'multiple-cursors-core) (require 'mark-multiple) (defun mc/switch-from-mark-multiple-to-cursors () diff --git a/rectangular-region-mode.el b/rectangular-region-mode.el index 7cb5da4..2df3e1e 100644 --- a/rectangular-region-mode.el +++ b/rectangular-region-mode.el @@ -27,7 +27,6 @@ ;;; Code: - (require 'multiple-cursors-core) (defvar rrm/anchor (make-marker)