remove all occurrences, testing using eq
Major Section:  PROGRAMMING

(remove-eq x l) is l if x is not a member of l as tested with member-eq, else is the result of removing all occurrences of x from l.

The guard for (remove-eq x l) requires l to be a true list and moreover, either x is a symbolp or all elements of l are symbols (i.e., l is a symbol-listp).

Also see remove1-eq, see remove, and see remove-equal.