emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

scratch/no-purespace 69fea4f29a1 10/41: Pure storage removal: Remove doc


From: Stefan Kangas
Subject: scratch/no-purespace 69fea4f29a1 10/41: Pure storage removal: Remove docstring hack
Date: Thu, 12 Dec 2024 16:57:31 -0500 (EST)

branch: scratch/no-purespace
commit 69fea4f29a1390912e4140a3ebacc50b7338db6f
Author: Pip Cet <pipcet@protonmail.com>
Commit: Stefan Kangas <stefankangas@gmail.com>

    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.
---
 src/eval.c | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/src/eval.c b/src/eval.c
index 6d0e8f101d7..28aa14c6234 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -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);



reply via email to

[Prev in Thread] Current Thread [Next in Thread]