aboutsummaryrefslogtreecommitdiffstats
path: root/src/eval.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/eval.c')
-rw-r--r--src/eval.c12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/eval.c b/src/eval.c
index 141d2546f08..93cd02b023a 100644
--- a/src/eval.c
+++ b/src/eval.c
@@ -748,8 +748,6 @@ value. */)
748 XSYMBOL (symbol)->u.s.declared_special = true; 748 XSYMBOL (symbol)->u.s.declared_special = true;
749 if (!NILP (doc)) 749 if (!NILP (doc))
750 { 750 {
751 if (!NILP (Vpurify_flag))
752 doc = Fpurecopy (doc);
753 Fput (symbol, Qvariable_documentation, doc); 751 Fput (symbol, Qvariable_documentation, doc);
754 } 752 }
755 LOADHIST_ATTACH (symbol); 753 LOADHIST_ATTACH (symbol);
@@ -892,8 +890,6 @@ More specifically, behaves like (defconst SYM 'INITVALUE DOCSTRING). */)
892 CHECK_SYMBOL (sym); 890 CHECK_SYMBOL (sym);
893 Lisp_Object tem = initvalue; 891 Lisp_Object tem = initvalue;
894 Finternal__define_uninitialized_variable (sym, docstring); 892 Finternal__define_uninitialized_variable (sym, docstring);
895 if (!NILP (Vpurify_flag))
896 tem = Fpurecopy (tem);
897 Fset_default (sym, tem); /* FIXME: set-default-toplevel-value? */ 893 Fset_default (sym, tem); /* FIXME: set-default-toplevel-value? */
898 Fput (sym, Qrisky_local_variable, Qt); /* FIXME: Why? */ 894 Fput (sym, Qrisky_local_variable, Qt); /* FIXME: Why? */
899 return sym; 895 return sym;
@@ -2195,12 +2191,6 @@ this does nothing and returns nil. */)
2195 && !AUTOLOADP (XSYMBOL (function)->u.s.function)) 2191 && !AUTOLOADP (XSYMBOL (function)->u.s.function))
2196 return Qnil; 2192 return Qnil;
2197 2193
2198 if (!NILP (Vpurify_flag) && BASE_EQ (docstring, make_fixnum (0)))
2199 /* `read1' in lread.c has found the docstring starting with "\
2200 and assumed the docstring will be provided by Snarf-documentation, so it
2201 passed us 0 instead. But that leads to accidental sharing in purecopy's
2202 hash-consing, so we use a (hopefully) unique integer instead. */
2203 docstring = make_ufixnum (XHASH (function));
2204 return Fdefalias (function, 2194 return Fdefalias (function,
2205 list5 (Qautoload, file, docstring, interactive, type), 2195 list5 (Qautoload, file, docstring, interactive, type),
2206 Qnil); 2196 Qnil);
@@ -4360,7 +4350,7 @@ alist of active lexical bindings. */);
4360 also use something like Fcons (Qnil, Qnil), but json.c treats any 4350 also use something like Fcons (Qnil, Qnil), but json.c treats any
4361 cons cell as error data, so use an uninterned symbol instead. */ 4351 cons cell as error data, so use an uninterned symbol instead. */
4362 Qcatch_all_memory_full 4352 Qcatch_all_memory_full
4363 = Fmake_symbol (build_pure_c_string ("catch-all-memory-full")); 4353 = Fmake_symbol (build_string ("catch-all-memory-full"));
4364 4354
4365 defsubr (&Sor); 4355 defsubr (&Sor);
4366 defsubr (&Sand); 4356 defsubr (&Sand);