aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTino Calancha2018-09-29 18:40:46 +0900
committerTino Calancha2018-09-29 18:40:46 +0900
commit2296bf188fc99d66306e71e6decd3d2e176b7ae6 (patch)
treebfc6c4d8afad29ee0204ce56801583ea7d97e403 /etc
parent3bbe9e609138ae88a4c98bcee0da8fcf8b4a3e80 (diff)
downloademacs-2296bf188fc99d66306e71e6decd3d2e176b7ae6.tar.gz
emacs-2296bf188fc99d66306e71e6decd3d2e176b7ae6.zip
Ibuffer filter by modes: Accept several mode names
Extend all mode filters so that they handle >1 mode. For instance, if the users want to filter all buffers in C or C++ mode, then they can call the filter interactively with input: 'c-mode,c++-mode' (Bug#32731). * lisp/ibuf-macs.el(define-ibuffer-filter): Add key :accept-list. If the value of this key is non-nil, then the filter accepts either a single qualifier or a list of them; in the latter case, the resultant filter is the `or' composition of the individual ones. * lisp/ibuf-ext.el (ibuffer-filter-by-used-mode) (ibuffer-filter-by-mode, ibuffer-filter-by-derived-mode) Set :accept-list value non-nil. Interactively, accept a comma separated list of mode names. * etc/NEWS(Ibuffer): Announce this change. Co-authored-by: Noam Postavsky <npostavs@gmail.com>
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS5
1 files changed, 5 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 474af167e83..7e7de165ec1 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -62,6 +62,11 @@ to reduce differences between developer and production builds.
62** Ibuffer 62** Ibuffer
63 63
64--- 64---
65*** All mode filters can now accept a list of symbols.
66This means you can now easily filter several major modes, as well
67as a single mode.
68
69---
65*** New toggle 'ibuffer-do-toggle-lock', bound to 'L'. 70*** New toggle 'ibuffer-do-toggle-lock', bound to 'L'.
66 71
67** Gnus 72** Gnus