Don't forget to autoload

This commit is contained in:
Magnar Sveen 2012-08-02 10:37:03 +02:00
parent b912bf80b1
commit b2906bb329
2 changed files with 4 additions and 0 deletions

View File

@ -29,6 +29,7 @@
(require 'multiple-cursors-core)
;;;###autoload
(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
@ -49,6 +50,7 @@ mark-multiple if point and mark is on different columns."
(funcall navigation-func))
(multiple-cursors-mode)))
;;;###autoload
(defun mc/edit-ends-of-lines ()
"Add one cursor to the end of each line in the active region."
(interactive)
@ -56,6 +58,7 @@ mark-multiple if point and mark is on different columns."
(mc/execute-command-for-all-fake-cursors 'end-of-line)
(end-of-line))
;;;###autoload
(defun mc/edit-beginnings-of-lines ()
"Add one cursor to the beginning of each line in the active region."
(interactive)

View File

@ -45,6 +45,7 @@
(deactivate-mark))
;; Bind this to a key (for instance H-SPC) to start rectangular-region-mode
;;;###autoload
(defun set-rectangular-region-anchor ()
(interactive)
(set-marker rrm/anchor (point))