From: Eli Zaretskii Date: Sun, 18 Aug 2019 14:46:19 +0000 (+0300) Subject: Attempt to fix assertion violation in eval.c X-Git-Tag: emacs-27.0.90~1573 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=f92d61c06c82d515ee83e340b8af4b1489778404;p=emacs.git Attempt to fix assertion violation in eval.c * src/eval.c (Fautoload): Fix an assertion violation in make_fixnum. Reported by martin rudalics . --- diff --git a/src/eval.c b/src/eval.c index cb9eb37b569..06d5c63f7f7 100644 --- a/src/eval.c +++ b/src/eval.c @@ -1995,7 +1995,7 @@ this does nothing and returns nil. */) and assumed the docstring will be provided by Snarf-documentation, so it passed us 0 instead. But that leads to accidental sharing in purecopy's hash-consing, so we use a (hopefully) unique integer instead. */ - docstring = make_fixnum (XHASH (function)); + docstring = make_ufixnum (XHASH (function)); return Fdefalias (function, list5 (Qautoload, file, docstring, interactive, type), Qnil);