summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorMiles Bader <miles@gnu.org>2006-03-28 23:08:20 +0000
committerMiles Bader <miles@gnu.org>2006-03-28 23:08:20 +0000
commit1ef7e5599f5aa981399221e657ff34e80cc2c1a3 (patch)
tree539ff4cf9ea84af29a4e8628d049f3a4253a51f4 /src/fns.c
parent33bd75ec5fb277e58731c8cbbb942cba4d9a9f19 (diff)
parent29314e0fd78063d663bd272787d0ea81cc61e38e (diff)
downloademacs-1ef7e5599f5aa981399221e657ff34e80cc2c1a3.tar.gz
emacs-1ef7e5599f5aa981399221e657ff34e80cc2c1a3.tar.bz2
emacs-1ef7e5599f5aa981399221e657ff34e80cc2c1a3.zip
Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-49
Merge from emacs--devo--0 Patches applied: * emacs--devo--0 (patch 164-184) - Update from CVS - Merge from gnus--rel--5.10 - Update from CVS: man/mh-e.texi (Folders): Various edits. - Update from erc--emacs--0 * gnus--rel--5.10 (patch 62-70) - Merge from emacs--devo--0 - Update from CVS
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/fns.c b/src/fns.c
index dd496f4c253..c6ae96e8383 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -4473,6 +4473,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;
}