diff options
| author | Pip Cet | 2024-08-20 19:08:33 +0000 |
|---|---|---|
| committer | Stefan Kangas | 2024-12-12 22:48:12 +0100 |
| commit | 69fea4f29a1390912e4140a3ebacc50b7338db6f (patch) | |
| tree | c1f194fc954f7f7c3110e21b1af987743885a514 /src | |
| parent | afd61deaaeb5e5e6845bdf995ac5ee9a3479599c (diff) | |
| download | emacs-69fea4f29a1390912e4140a3ebacc50b7338db6f.tar.gz emacs-69fea4f29a1390912e4140a3ebacc50b7338db6f.zip | |
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.
Diffstat (limited to 'src')
| -rw-r--r-- | src/eval.c | 6 |
1 files changed, 0 insertions, 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. */) | |||
| 2314 | && !AUTOLOADP (XSYMBOL (function)->u.s.function)) | 2314 | && !AUTOLOADP (XSYMBOL (function)->u.s.function)) |
| 2315 | return Qnil; | 2315 | return Qnil; |
| 2316 | 2316 | ||
| 2317 | if (!NILP (Vpurify_flag) && BASE_EQ (docstring, make_fixnum (0))) | ||
| 2318 | /* `read1' in lread.c has found the docstring starting with "\ | ||
| 2319 | and assumed the docstring will be provided by Snarf-documentation, so it | ||
| 2320 | passed us 0 instead. But that leads to accidental sharing in purecopy's | ||
| 2321 | hash-consing, so we use a (hopefully) unique integer instead. */ | ||
| 2322 | docstring = make_ufixnum (XHASH (function)); | ||
| 2323 | return Fdefalias (function, | 2317 | return Fdefalias (function, |
| 2324 | list5 (Qautoload, file, docstring, interactive, type), | 2318 | list5 (Qautoload, file, docstring, interactive, type), |
| 2325 | Qnil); | 2319 | Qnil); |