diff options
| author | Mattias EngdegÄrd | 2026-02-23 13:26:42 +0100 |
|---|---|---|
| committer | Mattias EngdegÄrd | 2026-02-24 12:47:52 +0100 |
| commit | 2505af27c6aa97fdc2418fcaf0ff5047707c761f (patch) | |
| tree | 32d61a359085c0716d8d0c67f1ce3882d22ae7bf /java/org | |
| parent | 75a0a073d7751ae274e1e35345e445a30dbce6b9 (diff) | |
| download | emacs-2505af27c6aa97fdc2418fcaf0ff5047707c761f.tar.gz emacs-2505af27c6aa97fdc2418fcaf0ff5047707c761f.zip | |
Compare circular lists in 'equal' without error (bug#80456)
* src/lisp.h (FOR_EACH_TAIL_INTERNAL): Divvy up the code into...
(FOR_EACH_TAIL_BASIC, FOR_EACH_TAIL_STEP_CYCLEP): ...these macros,
so that they can be used in more flexible ways.
* src/fns.c (internal_equal_1): Detect circular lists and call...
(internal_equal_cycle): ...this function that keeps comparing
but now detecting cycles in the other argument.
* lisp/emacs-lisp/testcover.el (testcover-after):
Remove unnecessary error handling.
* test/src/fns-tests.el (test-cycle-equal): Adapt and extend.
* test/lisp/emacs-lisp/testcover-resources/testcases.el
(testcover-testcase-cyc1): Remove case that no longer applies.
* doc/lispref/objects.texi (Equality Predicates): Update.
* etc/NEWS: Announce.
Diffstat (limited to 'java/org')
0 files changed, 0 insertions, 0 deletions