Function: set-difference

set-difference is a function alias for cl-set-difference, defined in cl-seq.el.gz.

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

Signature

(set-difference LIST1 LIST2 [KEYWORD VALUE]...)

Documentation

Combine LIST1 and LIST2 using a set-difference operation.

The resulting list contains all items that appear in LIST1 but not 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

Aliases

set-difference (obsolete since 27.1)