emacs-diffs
[Top][All Lists]
Advanced

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

scratch/no-purespace 5099385e63d 10/13: Pure storage removal: Remove doc


From: Pip Cet
Subject: scratch/no-purespace 5099385e63d 10/13: Pure storage removal: Remove docstring hack
Date: Tue, 20 Aug 2024 15:42:48 -0400 (EDT)

branch: scratch/no-purespace
commit 5099385e63d5662e5024b164799fe6e1eb33c4f4
Author: Pip Cet <pipcet@protonmail.com>
Commit: Pip Cet <pipcet@protonmail.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 df9766477b5..a90f7e76a10 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -2305,12 +2305,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]