summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2018-09-29 18:40:46 +0900
committerTino Calancha <tino.calancha@gmail.com>2018-09-29 18:40:46 +0900
commit2296bf188fc99d66306e71e6decd3d2e176b7ae6 (patch)
treebfc6c4d8afad29ee0204ce56801583ea7d97e403 /lisp/emacs-lisp
parent3bbe9e609138ae88a4c98bcee0da8fcf8b4a3e80 (diff)
downloademacs-2296bf188fc99d66306e71e6decd3d2e176b7ae6.tar.gz
emacs-2296bf188fc99d66306e71e6decd3d2e176b7ae6.tar.bz2
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 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions