diff options
| author | Richard M. Stallman | 1996-03-05 22:53:55 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-03-05 22:53:55 +0000 |
| commit | e5b633cf7069d36270db72b9eda82bd9dff22b38 (patch) | |
| tree | c703a0577f70e329dcbc291f9aad0fb72788a9ce | |
| parent | 178047284a939844b972140cba7fdc4eb1d11e79 (diff) | |
| download | emacs-e5b633cf7069d36270db72b9eda82bd9dff22b38.tar.gz emacs-e5b633cf7069d36270db72b9eda82bd9dff22b38.zip | |
(equalp): Correctly compare last elt of two lists.
| -rw-r--r-- | lisp/emacs-lisp/cl-extra.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-extra.el b/lisp/emacs-lisp/cl-extra.el index ac6ba7f630a..a9201444b0d 100644 --- a/lisp/emacs-lisp/cl-extra.el +++ b/lisp/emacs-lisp/cl-extra.el | |||
| @@ -89,7 +89,8 @@ strings case-insensitively." | |||
| 89 | ((numberp x) | 89 | ((numberp x) |
| 90 | (and (numberp y) (= x y))) | 90 | (and (numberp y) (= x y))) |
| 91 | ((consp x) | 91 | ((consp x) |
| 92 | (while (and (consp x) (consp y) (equalp (cl-pop x) (cl-pop y)))) | 92 | (while (and (consp x) (consp y) (equalp (car x) (car y))) |
| 93 | (setq x (cdr x) y (cdr y))) | ||
| 93 | (and (not (consp x)) (equalp x y))) | 94 | (and (not (consp x)) (equalp x y))) |
| 94 | ((vectorp x) | 95 | ((vectorp x) |
| 95 | (and (vectorp y) (= (length x) (length y)) | 96 | (and (vectorp y) (= (length x) (length y)) |