diff options
| author | Dan Nicolaescu | 2009-11-06 05:24:28 +0000 |
|---|---|---|
| committer | Dan Nicolaescu | 2009-11-06 05:24:28 +0000 |
| commit | a56eaaef7c9e641ecf6cc1cfb4cd3341e5118690 (patch) | |
| tree | 3e106d01bc9cf7d2704150fb884b879d98390555 /src/eval.c | |
| parent | 1e8780b173424f554a7d2248140c05d2e5f98247 (diff) | |
| download | emacs-a56eaaef7c9e641ecf6cc1cfb4cd3341e5118690.tar.gz emacs-a56eaaef7c9e641ecf6cc1cfb4cd3341e5118690.zip | |
* alloc.c (make_pure_c_string): New function.
* eval.c (Fautoload): Purecopy all arguments.
Diffstat (limited to 'src/eval.c')
| -rw-r--r-- | src/eval.c | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/eval.c b/src/eval.c index 136b75f756b..3945a1b7a55 100644 --- a/src/eval.c +++ b/src/eval.c | |||
| @@ -2127,16 +2127,13 @@ this does nothing and returns nil. */) | |||
| 2127 | /* Only add entries after dumping, because the ones before are | 2127 | /* Only add entries after dumping, because the ones before are |
| 2128 | not useful and else we get loads of them from the loaddefs.el. */ | 2128 | not useful and else we get loads of them from the loaddefs.el. */ |
| 2129 | LOADHIST_ATTACH (Fcons (Qautoload, function)); | 2129 | LOADHIST_ATTACH (Fcons (Qautoload, function)); |
| 2130 | |||
| 2131 | if (NILP (Vpurify_flag)) | ||
| 2132 | args[0] = file; | ||
| 2133 | else | 2130 | else |
| 2134 | args[0] = Fpurecopy (file); | 2131 | /* We don't want the docstring in purespace (instead, |
| 2135 | args[1] = docstring; | 2132 | Snarf-documentation should (hopefully) overwrite it). */ |
| 2136 | args[2] = interactive; | 2133 | docstring = make_number (0); |
| 2137 | args[3] = type; | 2134 | return Ffset (function, |
| 2138 | 2135 | Fpurecopy (list5 (Qautoload, file, docstring, | |
| 2139 | return Ffset (function, Fcons (Qautoload, Flist (4, &args[0]))); | 2136 | interactive, type))); |
| 2140 | } | 2137 | } |
| 2141 | 2138 | ||
| 2142 | Lisp_Object | 2139 | Lisp_Object |