Pure storage removal: Remove docstring hack

This should no longer be needed.

* src/eval.c (Fautoload): Don't try to work around pure storage bug.
This commit is contained in:
Pip Cet 2024-08-20 19:08:33 +00:00 committed by Stefan Kangas
parent afd61deaae
commit 69fea4f29a

View file

@ -2314,12 +2314,6 @@ this does nothing and returns nil. */)
&& !AUTOLOADP (XSYMBOL (function)->u.s.function))
return Qnil;
if (!NILP (Vpurify_flag) && BASE_EQ (docstring, make_fixnum (0)))
/* `read1' in lread.c has found the docstring starting with "\
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_ufixnum (XHASH (function));
return Fdefalias (function,
list5 (Qautoload, file, docstring, interactive, type),
Qnil);