How do you check, in elisp, if a list contains a value? so the following would return t:
(contains 3 '(1 2 3))
but
(contains 5 '(1 2 3))
would return nil.
question from:https://stackoverflow.com/questions/1408974/elisp-list-contains-a-value