emacs-elpa-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[nongnu] elpa/multiple-cursors c010afb 180/434: Rename mc/mark-sgml-tags


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors c010afb 180/434: Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair
Date: Sat, 7 Aug 2021 09:20:21 -0400 (EDT)

branch: elpa/multiple-cursors
commit c010afbbef8fd6afa535abc5d6294674df65223d
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>

    Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair
---
 mc-mark-more.el          | 4 ++--
 multiple-cursors-core.el | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/mc-mark-more.el b/mc-mark-more.el
index 5270950..56e4852 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -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))
diff --git a/multiple-cursors-core.el b/multiple-cursors-core.el
index 549dfb9..ea20b6b 100644
--- a/multiple-cursors-core.el
+++ b/multiple-cursors-core.el
@@ -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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]