Returns all occurrences of option entries for option in l.
Function:
(defun get-option-entries (option l) (declare (xargs :guard (and (keywordp option) (keyword-option-listp l)))) (cond ((atom l) 'nil) (((lambda (x) (or (eq option x) (and (consp x) (eq option (car x))))) (car l)) (cons ((lambda (x) x) (car l)) (get-option-entries option (cdr l)))) (t (get-option-entries option (cdr l)))))