From dd55b65843a8d8d1f2c448b7eb0732ffdd2601ce Mon Sep 17 00:00:00 2001 From: Pip Cet Date: Tue, 20 Aug 2024 19:08:33 +0000 Subject: [PATCH] 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. (cherry picked from commit 69fea4f29a1390912e4140a3ebacc50b7338db6f) --- src/eval.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/eval.c b/src/eval.c index f724d6d8052..f83633c52c8 100644 --- a/src/eval.c +++ b/src/eval.c @@ -2317,12 +2317,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); -- 2.39.5