mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Always require multiple-cursors-core
This commit is contained in:
parent
b1ea7f2230
commit
b912bf80b1
@ -26,6 +26,8 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'multiple-cursors-core)
|
||||||
|
|
||||||
(eval-when-compile (require 'cl))
|
(eval-when-compile (require 'cl))
|
||||||
|
|
||||||
(defun mc/next-cursor-after-point ()
|
(defun mc/next-cursor-after-point ()
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'multiple-cursors-core)
|
||||||
|
|
||||||
(defun mc/edit-lines ()
|
(defun mc/edit-lines ()
|
||||||
"Add one cursor to each line of the active region.
|
"Add one cursor to each line of the active region.
|
||||||
Starts from mark and moves in straight down or up towards the
|
Starts from mark and moves in straight down or up towards the
|
||||||
|
@ -27,6 +27,8 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'multiple-cursors-core)
|
||||||
|
|
||||||
(defun mc/cursor-end (cursor)
|
(defun mc/cursor-end (cursor)
|
||||||
(if (overlay-get cursor 'mark-active)
|
(if (overlay-get cursor 'mark-active)
|
||||||
(max (overlay-get cursor 'point)
|
(max (overlay-get cursor 'point)
|
||||||
|
@ -24,7 +24,7 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
(require 'multiple-cursors-core)
|
||||||
(require 'mark-multiple)
|
(require 'mark-multiple)
|
||||||
|
|
||||||
(defun mc/switch-from-mark-multiple-to-cursors ()
|
(defun mc/switch-from-mark-multiple-to-cursors ()
|
||||||
|
@ -27,7 +27,6 @@
|
|||||||
|
|
||||||
;;; Code:
|
;;; Code:
|
||||||
|
|
||||||
|
|
||||||
(require 'multiple-cursors-core)
|
(require 'multiple-cursors-core)
|
||||||
|
|
||||||
(defvar rrm/anchor (make-marker)
|
(defvar rrm/anchor (make-marker)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user