1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-02 08:22:22 +00:00

(sxhash_list): Include last non-nil CDR in hash.

This commit is contained in:
Kim F. Storm 2006-03-24 13:26:36 +00:00
parent 8928c512e4
commit ea284f335c

View File

@ -5114,6 +5114,12 @@ sxhash_list (list, depth)
hash = SXHASH_COMBINE (hash, hash2);
}
if (!NILP (list))
{
unsigned hash2 = sxhash (list, depth + 1);
hash = SXHASH_COMBINE (hash, hash2);
}
return hash;
}