From 76f61009c761a8944476cb2df7383358820ea4e2 Mon Sep 17 00:00:00 2001 From: Erik Naggum Date: Fri, 8 Mar 1996 18:30:12 +0000 Subject: [PATCH] (equalp): Use string-equal on strings. --- lisp/emacs-lisp/cl-extra.el | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index a9201444b0d..6eadbdb4ca9 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el @@ -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) -- 2.39.2