Function: dabbrev-filter-elements
dabbrev-filter-elements is a macro defined in dabbrev.el.gz.
Signature
(dabbrev-filter-elements ELEMENT LIST CONDITION)
Source Code
;; Defined in /usr/src/emacs/lisp/dabbrev.el.gz
;; Make a list of some of the elements of LIST.
;; Check each element of LIST, storing it temporarily in the
;; variable ELEMENT, and include it in the result
;; if CONDITION evaluates non-nil.
(defmacro dabbrev-filter-elements (element list condition)
`(let (dabbrev-result dabbrev-tail ,element)
(setq dabbrev-tail ,list)
(while dabbrev-tail
(setq ,element (car dabbrev-tail))
(if ,condition
(setq dabbrev-result (cons ,element dabbrev-result)))
(setq dabbrev-tail (cdr dabbrev-tail)))
(nreverse dabbrev-result)))