From f546c7fa751620c22722da24749cf34ead2a3b47 Mon Sep 17 00:00:00 2001 From: Tino Calancha Date: Fri, 20 Oct 2017 22:22:08 +0900 Subject: 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. --- lisp/ibuf-ext.el | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'lisp/ibuf-ext.el') 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 -- cgit v1.2.1