summaryrefslogtreecommitdiff
path: root/lisp/ibuf-ext.el
diff options
context:
space:
mode:
authorTino Calancha <tino.calancha@gmail.com>2017-10-20 22:22:08 +0900
committerTino Calancha <tino.calancha@gmail.com>2017-10-20 22:22:08 +0900
commitf546c7fa751620c22722da24749cf34ead2a3b47 (patch)
treefbd41cb4ea4e254385df340d0be141bc1d95ad2e /lisp/ibuf-ext.el
parentee6fe8378a28444cb4913abca4af742f736e9b45 (diff)
downloademacs-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.el6
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