Function: sxhash-equal-including-properties
sxhash-equal-including-properties is a function defined in fns.c.
Signature
(sxhash-equal-including-properties OBJ)
Documentation
Return an integer hash code for OBJ suitable for
equal-including-properties.
If (sxhash-equal-including-properties A B), then
(= (sxhash-equal-including-properties A) (sxhash-equal-including-properties B)).
Hash codes are not guaranteed to be preserved across Emacs sessions.
Probably introduced at or before Emacs version 28.1.
Source Code
// Defined in /usr/src/emacs/src/fns.c
{
EMACS_UINT hash = sxhash (obj);
if (STRINGP (obj))
traverse_intervals (string_intervals (obj), 0, hash_interval, &hash);
return reduce_emacs_uint_to_fixnum (hash);
}