emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] master 0e6fa2d: Remove just input mark


From: Tino Calancha
Subject: [Emacs-diffs] master 0e6fa2d: Remove just input mark
Date: Fri, 8 Jul 2016 02:23:52 +0000 (UTC)

branch: master
commit 0e6fa2ddf76a1d702d836db3786ec1e34f7dcf54
Author: Tino Calancha <address@hidden>
Commit: Tino Calancha <address@hidden>

    Remove just input mark
    
    * lisp/ibuffer.el (ibuffer-unmark-all): When MARK is not ?\r remove
    just MARK.
---
 lisp/ibuffer.el |    6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/lisp/ibuffer.el b/lisp/ibuffer.el
index 4f266d9..fde1757 100644
--- a/lisp/ibuffer.el
+++ b/lisp/ibuffer.el
@@ -1345,6 +1345,12 @@ With optional ARG, make read-only only if ARG is not 
negative."
        (lambda (_buf _mark)
         (ibuffer-set-mark-1 ?\s)
         t)))
+     ((not (char-equal mark ?\r))
+      (ibuffer-map-lines
+       (lambda (_buf _mark)
+        (when (char-equal _mark mark)
+          (ibuffer-set-mark-1 ?\s))
+        t)))
      (t
       (ibuffer-map-lines
        (lambda (_buf mark)



reply via email to

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