]> git.eshelyaron.com Git - emacs.git/commit
Fix sxhash-equal on bytecodes, markers, etc.
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jan 2020 19:23:11 +0000 (11:23 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 7 Jan 2020 19:29:42 +0000 (11:29 -0800)
commit724af7671590cd91df37f64df6be73f6dca0144d
tree075df63dcdc3653ff710ce49a5f238c165d0f0c1
parentf950b078a6f2fd011312e9471998edf6b5fb957e
Fix sxhash-equal on bytecodes, markers, etc.

Problem reported by Pip Cet (Bug#38912#14).
* doc/lispref/objects.texi (Equality Predicates):
Document better when ‘equal’ looks inside objects.
* doc/lispref/windows.texi (Window Configurations):
Don’t say that ‘equal’ looks inside window configurations.
* etc/NEWS: Mention the change.
* src/fns.c (internal_equal):
Do not look inside window configurations.
(sxhash_obj): Hash markers, byte-code function objects,
char-tables, and font objects consistently with Fequal.
* src/window.c (compare_window_configurations):
Now static.  Remove last argument.  Caller changed.
* test/lisp/ffap-tests.el (ffap-other-window--bug-25352):
Use compare-window-configurations, not ‘equal’.
* test/src/fns-tests.el (test-sxhash-equal): New test.
doc/lispref/objects.texi
doc/lispref/windows.texi
etc/NEWS
src/fns.c
src/lisp.h
src/window.c
src/window.h
test/lisp/ffap-tests.el
test/src/fns-tests.el