[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[nongnu] elpa/multiple-cursors ccb42b5 227/434: Inline defun for better
From: |
ELPA Syncer |
Subject: |
[nongnu] elpa/multiple-cursors ccb42b5 227/434: Inline defun for better readability. |
Date: |
Sat, 7 Aug 2021 09:20:31 -0400 (EDT) |
branch: elpa/multiple-cursors
commit ccb42b5d70a6037d6d032dbbb829c88a9129f42c
Author: Magnar Sveen <magnars@gmail.com>
Commit: Magnar Sveen <magnars@gmail.com>
Inline defun for better readability.
---
mc-mark-more.el | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/mc-mark-more.el b/mc-mark-more.el
index eba7bed..ac669fc 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -327,7 +327,8 @@ With prefix, it behaves the same as original
`mc/mark-all-like-this'"
(interactive "P")
(if arg
(mc/mark-all-like-this)
- (if (and (mc--no-region-and-in-sgmlish-mode)
+ (if (and (not (use-region-p))
+ (derived-mode-p 'sgml-mode)
(mc--on-tag-name-p))
(mc/mark-sgml-tag-pair)
(let ((before (mc/num-cursors)))
@@ -346,10 +347,6 @@ With prefix, it behaves the same as original
`mc/mark-all-like-this'"
(when (<= (mc/num-cursors) before)
(mc/mark-all-like-this))))))
-(defun mc--no-region-and-in-sgmlish-mode ()
- (and (not (use-region-p))
- (derived-mode-p 'sgml-mode)))
-
(defun mc--in-defun ()
(bounds-of-thing-at-point 'defun))
- [nongnu] elpa/multiple-cursors e048e04 406/434: Fix #271: The command yank can't work, (continued)
- [nongnu] elpa/multiple-cursors e048e04 406/434: Fix #271: The command yank can't work, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors b880554 427/434: Fix typos (#359), ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 83abb05 430/434: Add badges to README (#363), ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors fa753aa 187/434: Fix: mc/dump-list loosing old setting, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors c010afb 180/434: Rename mc/mark-sgml-tags to mc/mark-sgml-tag-pair, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 839c6ef 183/434: Update README with command overview and tips-n-tricks., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 94164f7 191/434: Merge pull request #41 from purcell/patch-1, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 9dac934 228/434: Fix scrolling behavior in Emacs 24., ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors 8a53db8 226/434: Merge pull request #64 from tarsius/master, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors c9548ea 088/434: Use inverse face for cursor, ELPA Syncer, 2021/08/07
- [nongnu] elpa/multiple-cursors ccb42b5 227/434: Inline defun for better readability.,
ELPA Syncer <=