Function: rcirc-condition-filter
rcirc-condition-filter is a byte-compiled function defined in
rcirc.el.gz.
Signature
(rcirc-condition-filter CONDP LST)
Documentation
Remove all items not satisfying condition CONDP in list LST.
CONDP is a function that takes a list element as argument and returns non-nil if that element should be included. Returns a new list.
Source Code
;; Defined in /usr/src/emacs/lisp/net/rcirc.el.gz
;; cf cl-remove-if-not
(defun rcirc-condition-filter (condp lst)
"Remove all items not satisfying condition CONDP in list LST.
CONDP is a function that takes a list element as argument and returns
non-nil if that element should be included. Returns a new list."
(delq nil (mapcar (lambda (x) (and (funcall condp x) x)) lst)))