X端末か確認するときに

(if (equal window-system 'x)
(progn
**********
))

(cond (window-system
*******
))

があるけどどう違うの?