diff options
author | Tino Calancha <tino.calancha@gmail.com> | 2017-10-20 22:22:08 +0900 |
---|---|---|
committer | Tino Calancha <tino.calancha@gmail.com> | 2017-10-20 22:22:08 +0900 |
commit | f546c7fa751620c22722da24749cf34ead2a3b47 (patch) | |
tree | fbd41cb4ea4e254385df340d0be141bc1d95ad2e /lisp/ibuf-ext.el | |
parent | ee6fe8378a28444cb4913abca4af742f736e9b45 (diff) | |
download | emacs-f546c7fa751620c22722da24749cf34ead2a3b47.tar.gz |
ibuffer: new filter to list buffers running a process
* lisp/ibuf-ext.el (ibuffer-filter-by-process): Add new filter (Bug#28825).
* lisp/ibuffer.el (ibuffer-mode-map): Bound it to '/E'.
; * etc/NEWS (Changes in Specialized Modes and Packages in Emacs 27.1):
; Announce this change.
Diffstat (limited to 'lisp/ibuf-ext.el')
-rw-r--r-- | lisp/ibuf-ext.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index 2c841fa7e0a..1ef7cb118cc 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -1286,6 +1286,12 @@ currently used by buffers." :reader (read-from-minibuffer "Filter by name (regexp): ")) (string-match qualifier (buffer-name buf))) +;;;###autoload (autoload 'ibuffer-filter-by-process "ibuf-ext") +(define-ibuffer-filter process + "Limit current view to buffers running a process." + (:description "process") + (get-buffer-process buf)) + ;;;###autoload (autoload 'ibuffer-filter-by-starred-name "ibuf-ext") (define-ibuffer-filter starred-name "Limit current view to buffers with name beginning and ending |