(equalp): Use string-equal on strings.

This commit is contained in:
Erik Naggum 1996-03-08 18:30:12 +00:00
parent 24a31d5780
commit 76f61009c7

View file

@ -84,8 +84,8 @@ strings case-insensitively."
(cond ((eq x y) t)
((stringp x)
(and (stringp y) (= (length x) (length y))
(or (equal x y)
(equal (downcase x) (downcase y))))) ; lazy but simple!
(or (string-equal x y)
(string-equal (downcase x) (downcase y))))) ; lazy but simple!
((numberp x)
(and (numberp y) (= x y)))
((consp x)