diff options
| author | Jim Blandy | 1993-02-22 14:41:57 +0000 |
|---|---|---|
| committer | Jim Blandy | 1993-02-22 14:41:57 +0000 |
| commit | 7b8f3b2953f848e6b214414767b64ed42fdeafc8 (patch) | |
| tree | eb699042a54fe5358dadfb137854028119d999d4 /src | |
| parent | f8d830994a14d0247443b8f0e567c6f18aee5dbd (diff) | |
| download | emacs-7b8f3b2953f848e6b214414767b64ed42fdeafc8.tar.gz emacs-7b8f3b2953f848e6b214414767b64ed42fdeafc8.zip | |
* fns.c (Fequal): Call internal_equal to recurse on elements of
lists and vectors, not Fequal.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fns.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -847,7 +847,7 @@ do_cdr: | |||
| 847 | if (XTYPE (o1) == Lisp_Cons) | 847 | if (XTYPE (o1) == Lisp_Cons) |
| 848 | { | 848 | { |
| 849 | Lisp_Object v1; | 849 | Lisp_Object v1; |
| 850 | v1 = Fequal (Fcar (o1), Fcar (o2), depth + 1); | 850 | v1 = internal_equal (Fcar (o1), Fcar (o2), depth + 1); |
| 851 | if (NILP (v1)) | 851 | if (NILP (v1)) |
| 852 | return v1; | 852 | return v1; |
| 853 | o1 = Fcdr (o1), o2 = Fcdr (o2); | 853 | o1 = Fcdr (o1), o2 = Fcdr (o2); |
| @@ -870,7 +870,7 @@ do_cdr: | |||
| 870 | Lisp_Object v, v1, v2; | 870 | Lisp_Object v, v1, v2; |
| 871 | v1 = XVECTOR (o1)->contents [index]; | 871 | v1 = XVECTOR (o1)->contents [index]; |
| 872 | v2 = XVECTOR (o2)->contents [index]; | 872 | v2 = XVECTOR (o2)->contents [index]; |
| 873 | v = Fequal (v1, v2, depth + 1); | 873 | v = internal_equal (v1, v2, depth + 1); |
| 874 | if (NILP (v)) return v; | 874 | if (NILP (v)) return v; |
| 875 | } | 875 | } |
| 876 | return Qt; | 876 | return Qt; |