Function: union

union is a for cl-union, defined in cl-seq.el.gz.

This function is obsolete since 27.1; use cl-union instead.

Signature

(union LIST1 LIST2 [KEYWORD VALUE]...)

Documentation

Combine LIST1 and LIST2 using a set-union operation.

The resulting list contains all items that appear in either LIST1 or LIST2. This is a non-destructive function; it makes a copy of the data if necessary to avoid corrupting the original LIST1 and LIST2.

Keywords supported: :test :test-not :key

Probably introduced at or before Emacs version 21.1.

Aliases

union (obsolete since 27.1)