eq
(eq expression expression)
T if both are the same object: the same symbol, the same number or the same list (not an equal copy). To compare contents, use equal.
(setq a '(1 2) b a) (eq a b) ; T (eq a '(1 2)) ; nil
(eq expression expression)
T if both are the same object: the same symbol, the same number or the same list (not an equal copy). To compare contents, use equal.
(setq a '(1 2) b a) (eq a b) ; T (eq a '(1 2)) ; nil