]> git.eshelyaron.com Git - emacs.git/commit
Correct the handling of symbols with position in equal
authorAlan Mackenzie <acm@muc.de>
Mon, 4 Sep 2023 12:51:24 +0000 (12:51 +0000)
committerAlan Mackenzie <acm@muc.de>
Mon, 4 Sep 2023 12:51:24 +0000 (12:51 +0000)
commitafcb6d0bc7abcdbca6b18d020deeff24d1ad197f
tree1561281df0284ced50d19005770c00023e7a617e
parent55a0f0e047034b3a458b6fdbe245f33b83fd88b0
Correct the handling of symbols with position in equal

* src/fns.c (internal_equal): Only regard symbols with position
as their symbols when symbols-with-pos-enabled is non-nil.

* doc/lispref/symbols.texi (Symbols with Position): Expand the
description of symbols with position, in particular the way
they work with eq and equal.

* doc/lispref/objects.texi (Equality Predicates): Describe how
eq and equal handle symbols with position.

* test/src/fns-tests.el (fns-tests-equal-symbols-with-position):
New tests for symbols with position.
doc/lispref/objects.texi
doc/lispref/symbols.texi
src/fns.c
test/src/fns-tests.el