define-ibuffer-filter

define-ibuffer-filter is a Lisp macro in `ibuf-macs.el'.

(define-ibuffer-filter NAME DOCUMENTATION (&key READER DESCRIPTION) &rest BODY)

Define a filter named NAME.
DOCUMENTATION is the documentation of the function.
READER is a form which should read a qualifier from the user.
DESCRIPTION is a short string describing the filter.

BODY should contain forms which will be evaluated to test whether or
not a particular buffer should be displayed or not. The forms in BODY
will be evaluated with BUF bound to the buffer object, and QUALIFIER
bound to the current value of the filter.