Function: ibuffer-unary-operand

ibuffer-unary-operand is a byte-compiled function defined in ibuf-ext.el.gz.

Signature

(ibuffer-unary-operand FILTER)

Documentation

Extract operand from a unary compound FILTER specification.

FILTER should be a cons cell of either form (f . d) or (f d), where operand d is itself a cons cell, or nil. Returns d.

Source Code

;; Defined in /usr/src/emacs/lisp/ibuf-ext.el.gz
(defun ibuffer-unary-operand (filter)
  "Extract operand from a unary compound FILTER specification.

FILTER should be a cons cell of either form (f . d) or (f d),
where operand d is itself a cons cell, or nil.  Returns d."
  (let* ((tail (cdr filter))
         (maybe-q (car-safe tail)))
    (if (consp maybe-q) maybe-q tail)))