aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2019-08-18 17:46:19 +0300
committerEli Zaretskii2019-08-18 17:46:19 +0300
commitf92d61c06c82d515ee83e340b8af4b1489778404 (patch)
treef60e884d5fa689e18f68daf7bf540000c25e5c4a /src
parentee1c638cff27f3bcdd8936617d67f79fe07d6df1 (diff)
downloademacs-f92d61c06c82d515ee83e340b8af4b1489778404.tar.gz
emacs-f92d61c06c82d515ee83e340b8af4b1489778404.zip
Attempt to fix assertion violation in eval.c
* src/eval.c (Fautoload): Fix an assertion violation in make_fixnum. Reported by martin rudalics <rudalics@gmx.at>.
Diffstat (limited to 'src')
-rw-r--r--src/eval.c2
1 files changed, 1 insertions, 1 deletions
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. */)
1995 and assumed the docstring will be provided by Snarf-documentation, so it 1995 and assumed the docstring will be provided by Snarf-documentation, so it
1996 passed us 0 instead. But that leads to accidental sharing in purecopy's 1996 passed us 0 instead. But that leads to accidental sharing in purecopy's
1997 hash-consing, so we use a (hopefully) unique integer instead. */ 1997 hash-consing, so we use a (hopefully) unique integer instead. */
1998 docstring = make_fixnum (XHASH (function)); 1998 docstring = make_ufixnum (XHASH (function));
1999 return Fdefalias (function, 1999 return Fdefalias (function,
2000 list5 (Qautoload, file, docstring, interactive, type), 2000 list5 (Qautoload, file, docstring, interactive, type),
2001 Qnil); 2001 Qnil);