[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 0fa281f: ibuffer-unmark-backward: Unmark the region
From: |
Tino Calancha |
Subject: |
[Emacs-diffs] master 0fa281f: ibuffer-unmark-backward: Unmark the region when is active |
Date: |
Wed, 7 Dec 2016 12:37:13 +0000 (UTC) |
branch: master
commit 0fa281fe2f3f104ec954dde096fd085eba42021f
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>
ibuffer-unmark-backward: Unmark the region when is active
* lisp/ibuffer.el (ibuffer-unmark-backward):
Use 'ibuffer-get-region-and-prefix'; call 'ibuffer-unmark-forward'
with the region boundary as the first 2 arguments (Bug#24987).
---
lisp/ibuffer.el | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 8898afd..ef1ef4b 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -1431,11 +1431,11 @@ If point is on a group name, this function operates on
that group."
(interactive (ibuffer-get-region-and-prefix))
(ibuffer-mark-region-or-n-with-char start end arg ?\s))
-(defun ibuffer-unmark-backward (arg)
- "Unmark the ARG previous buffers.
+(defun ibuffer-unmark-backward (start end arg)
+ "Unmark the buffers in the region, or previous ARG buffers.
If point is on a group name, this function operates on that group."
- (interactive "p")
- (ibuffer-unmark-forward nil nil (- arg)))
+ (interactive (ibuffer-get-region-and-prefix))
+ (ibuffer-unmark-forward start end (- arg)))
(defun ibuffer-mark-region-or-n-with-char (start end arg mark-char)
(if (use-region-p)
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 0fa281f: ibuffer-unmark-backward: Unmark the region when is active,
Tino Calancha <=