diff options
| author | Eli Zaretskii | 2019-08-18 17:46:19 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-08-18 17:46:19 +0300 |
| commit | f92d61c06c82d515ee83e340b8af4b1489778404 (patch) | |
| tree | f60e884d5fa689e18f68daf7bf540000c25e5c4a /src | |
| parent | ee1c638cff27f3bcdd8936617d67f79fe07d6df1 (diff) | |
| download | emacs-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.c | 2 |
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); |