Function: pushnew

pushnew is a for cl-pushnew, defined in cl-lib.el.gz.

This macro is obsolete since 27.1; use cl-pushnew instead.

Signature

(pushnew X PLACE [KEYWORD VALUE]...)

Documentation

Add X to the list stored in PLACE unless X is already in the list.

PLACE is a generalized variable that stores a list.

Like (push X PLACE), except that PLACE is unmodified if X is eql to an element already in the list stored in PLACE.


Keywords supported: :test :test-not :key

Aliases

pushnew (obsolete since 27.1)