mirror of
https://github.com/magnars/multiple-cursors.el.git
synced 2025-10-13 13:03:03 +00:00
Autoload new functions.
This commit is contained in:
parent
717c97e32b
commit
7d79b983ea
@ -311,6 +311,7 @@ is one of the above."
|
|||||||
|
|
||||||
(defvar mc--restrict-mark-all-to-symbols nil)
|
(defvar mc--restrict-mark-all-to-symbols nil)
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/mark-all-like-this-dwim (arg)
|
(defun mc/mark-all-like-this-dwim (arg)
|
||||||
"Tries to guess what you want to mark all of.
|
"Tries to guess what you want to mark all of.
|
||||||
Can be pressed multiple times to increase selection.
|
Can be pressed multiple times to increase selection.
|
||||||
@ -345,6 +346,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
|
|||||||
(defun mc--in-defun ()
|
(defun mc--in-defun ()
|
||||||
(bounds-of-thing-at-point 'defun))
|
(bounds-of-thing-at-point 'defun))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/mark-all-like-this-in-defun ()
|
(defun mc/mark-all-like-this-in-defun ()
|
||||||
"Mark all like this in defun."
|
"Mark all like this in defun."
|
||||||
(interactive)
|
(interactive)
|
||||||
@ -355,6 +357,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
|
|||||||
(mc/mark-all-like-this))
|
(mc/mark-all-like-this))
|
||||||
(mc/mark-all-like-this)))
|
(mc/mark-all-like-this)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/mark-all-words-like-this-in-defun ()
|
(defun mc/mark-all-words-like-this-in-defun ()
|
||||||
"Mark all words like this in defun."
|
"Mark all words like this in defun."
|
||||||
(interactive)
|
(interactive)
|
||||||
@ -365,6 +368,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
|
|||||||
(mc/mark-all-words-like-this))
|
(mc/mark-all-words-like-this))
|
||||||
(mc/mark-all-words-like-this)))
|
(mc/mark-all-words-like-this)))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/mark-all-symbols-like-this-in-defun ()
|
(defun mc/mark-all-symbols-like-this-in-defun ()
|
||||||
"Mark all symbols like this in defun."
|
"Mark all symbols like this in defun."
|
||||||
(interactive)
|
(interactive)
|
||||||
@ -400,6 +404,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
|
|||||||
(>= (point) beg)
|
(>= (point) beg)
|
||||||
(<= (point) end))))
|
(<= (point) end))))
|
||||||
|
|
||||||
|
;;;###autoload
|
||||||
(defun mc/mark-sgml-tag-pair ()
|
(defun mc/mark-sgml-tag-pair ()
|
||||||
"Mark the tag we're in and its pair for renaming."
|
"Mark the tag we're in and its pair for renaming."
|
||||||
(interactive)
|
(interactive)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user