remove pure-space-related Fautoload hack
authorBT Templeton <bpt@hcoop.net>
Wed, 11 Jul 2012 04:44:31 +0000 (00:44 -0400)
committerRobin Templeton <robin@terpri.org>
Sat, 18 Apr 2015 22:49:08 +0000 (18:49 -0400)
* src/eval.c (Fautoload): Allow null docstrings to be passed to Ffset
  regardless of the value of `Vpurify_flag'.

src/eval.c

index c31d9e3..985abce 100644 (file)
@@ -1878,12 +1878,6 @@ this does nothing and returns nil.  */)
       && !AUTOLOADP (XSYMBOL (function)->function))
     return Qnil;
 
-  if (!NILP (Vpurify_flag) && EQ (docstring, make_number (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_number (XHASH (function));
   return Fdefalias (function,
                    list5 (Qautoload, file, docstring, interactive, type),
                    Qnil);