is there a handy way to check if two lists --results of (window-list)
precisely-- are equal WRT to the kind and number elements?
The order of elements should be ignored.
Try `cl-set-exclusive-or', from cl-seq.el.
,----
| cl-set-exclusive-or is an autoloaded Lisp function in `cl-seq.el'.
|
| (cl-set-exclusive-or LIST1 LIST2 [KEYWORD VALUE]...)
|
| Combine LIST1 and LIST2 using a set-exclusive-or operation.
| The resulting list contains all items appearing in exactly one of LIST1,
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
`----