1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-03-12 18:01:46 -07:00
emacs/doc
Mattias Engdegård 2505af27c6 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.
2026-02-24 12:47:52 +01:00
..
emacs Support displaying more months in the calendar 2026-02-22 16:21:13 +02:00
lispintro Adapt ELisp Intro manual to recent changes in Emacs 2026-02-21 16:46:44 +02:00
lispref Compare circular lists in 'equal' without error (bug#80456) 2026-02-24 12:47:52 +01:00
man ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00
misc ; Make the document language in Info manuals explicitly stated 2026-02-21 15:29:13 +02:00
translations ; Add 2026 to copyright years. 2026-01-01 12:54:34 +00:00