From: Colin Walters Date: Mon, 13 May 2002 05:59:48 +0000 (+0000) Subject: (ibuffer-format-filter-group-data): New function. X-Git-Tag: ttn-vms-21-2-B4~15077 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=c12447455e1d063d277756d5e5c3c2a734f02335;p=emacs.git (ibuffer-format-filter-group-data): New function. --- 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)