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

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

[nongnu] elpa/multiple-cursors a0f771f 151/434: Include interactive comm


From: ELPA Syncer
Subject: [nongnu] elpa/multiple-cursors a0f771f 151/434: Include interactive commands for deselecting prev/next
Date: Sat, 7 Aug 2021 09:20:15 -0400 (EDT)

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

    Include interactive commands for deselecting prev/next
    
    Fixes #21
---
 mc-mark-more.el | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/mc-mark-more.el b/mc-mark-more.el
index a0f134f..883fb1e 100644
--- a/mc-mark-more.el
+++ b/mc-mark-more.el
@@ -138,6 +138,18 @@ With zero ARG, skip the last one and mark next."
     (multiple-cursors-mode 0)))
 
 ;;;###autoload
+(defun mc/unmark-next-like-this (arg)
+  "Deselect next part of the buffer matching the currently active region."
+  (interactive)
+  (mc/mark-next-like-this -1))
+
+;;;###autoload
+(defun mc/unmark-previous-like-this (arg)
+  "Deselect prev part of the buffer matching the currently active region."
+  (interactive)
+  (mc/mark-previous-like-this -1))
+
+;;;###autoload
 (defun mc/mark-all-like-this ()
   "Find and mark all the parts of the buffer matching the currently active 
region"
   (interactive)



reply via email to

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