mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-04 11:40:22 +00:00
(equalp): Correctly compare last elt of two lists.
This commit is contained in:
parent
178047284a
commit
e5b633cf70
@ -89,7 +89,8 @@ strings case-insensitively."
|
||||
((numberp x)
|
||||
(and (numberp y) (= x y)))
|
||||
((consp x)
|
||||
(while (and (consp x) (consp y) (equalp (cl-pop x) (cl-pop y))))
|
||||
(while (and (consp x) (consp y) (equalp (car x) (car y)))
|
||||
(setq x (cdr x) y (cdr y)))
|
||||
(and (not (consp x)) (equalp x y)))
|
||||
((vectorp x)
|
||||
(and (vectorp y) (= (length x) (length y))
|
||||
|
Loading…
Reference in New Issue
Block a user