From c12447455e1d063d277756d5e5c3c2a734f02335 Mon Sep 17 00:00:00 2001 From: Colin Walters Date: Mon, 13 May 2002 05:59:48 +0000 Subject: [PATCH] (ibuffer-format-filter-group-data): New function. --- lisp/ibuf-ext.el | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lisp/ibuf-ext.el b/lisp/ibuf-ext.el index c077e3362ee..ff4e8b76e81 100644 --- a/lisp/ibuf-ext.el +++ b/lisp/ibuf-ext.el @@ -896,6 +896,13 @@ of replacing the current filters." ibuffer-saved-filters nil t)))) (setq ibuffer-filtering-qualifiers (list (cons 'saved name))) (ibuffer-update nil t)) + +(defun ibuffer-format-filter-group-data (filter) + (if (equal filter "Default") + "" + (concat "Filter: " (mapconcat #'ibuffer-format-qualifier + (cdr (assq filter ibuffer-filter-groups)) + " ") "\n"))) (defun ibuffer-format-qualifier (qualifier) (if (eq (car-safe qualifier) 'not) -- 2.39.5