Function: ibuffer-awhen

ibuffer-awhen is a macro defined in ibuf-macs.el.gz.

Signature

(ibuffer-awhen TEST &rest BODY)

Documentation

Evaluate BODY if TEST returns non-nil.

During evaluation of body, bind it to the value returned by TEST.

Source Code

;; Defined in /usr/src/emacs/lisp/ibuf-macs.el.gz
(defmacro ibuffer-awhen (test &rest body)
  "Evaluate BODY if TEST returns non-nil.
During evaluation of body, bind `it' to the value returned by TEST."
  (declare (indent 1))
  `(ibuffer-aif ,test
       (progn ,@body)
     nil))