Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair

This commit is contained in:
Magnar Sveen 2012-11-18 14:45:25 +01:00
parent f721308591
commit c010afbbef
2 changed files with 3 additions and 3 deletions

View File

@ -321,7 +321,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
(mc/mark-all-like-this)
(if (and (mc--no-region-and-in-sgmlish-mode)
(mc--on-tag-name-p))
(mc/mark-sgml-tags)
(mc/mark-sgml-tag-pair)
(let ((before (mc/num-cursors)))
(unless (eq last-command 'mc/mark-all-like-this-dwim)
(setq mc--restrict-mark-all-to-symbols nil))
@ -400,7 +400,7 @@ With prefix, it behaves the same as original `mc/mark-all-like-this'"
(>= (point) beg)
(<= (point) end))))
(defun mc/mark-sgml-tags ()
(defun mc/mark-sgml-tag-pair ()
"Mark the tag we're in and its pair for renaming."
(interactive)
(when (not (mc--inside-tag-p))

View File

@ -549,7 +549,7 @@ for running commands with multiple cursors.")
mc/mark-all-words-like-this-in-defun
mc/mark-all-symbols-like-this-in-defun
mc/mark-all-like-this-dwim
mc/mark-sgml-tags
mc/mark-sgml-tag-pair
mc/cycle-forward
mc/cycle-backward
rrm/switch-to-multiple-cursors