diff options
| author | Jim Blandy | 1992-09-13 12:20:40 +0000 |
|---|---|---|
| committer | Jim Blandy | 1992-09-13 12:20:40 +0000 |
| commit | 2bda628c55a5db8f3c9c64e6fdfd05e45daaf979 (patch) | |
| tree | d2e1479d91ca9edb1b88fa8fc110abab2e118b40 /src | |
| parent | afa4c0f3cd2d584a0997c319decde8fafaa80430 (diff) | |
| download | emacs-2bda628c55a5db8f3c9c64e6fdfd05e45daaf979.tar.gz emacs-2bda628c55a5db8f3c9c64e6fdfd05e45daaf979.zip | |
* doc.c (Fsnarf_documentation): Signal an error if this is
called in a dumped Emacs.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 5 |
1 files changed, 5 insertions, 0 deletions
| @@ -215,6 +215,11 @@ when doc strings are referred to later in the dumped Emacs.") | |||
| 215 | char *name; | 215 | char *name; |
| 216 | extern char *index (); | 216 | extern char *index (); |
| 217 | 217 | ||
| 218 | #ifndef CANNOT_DUMP | ||
| 219 | if (NILP (Vpurify_flag)) | ||
| 220 | error ("Snarf-documentation can only be called in an undumped Emacs"); | ||
| 221 | #endif | ||
| 222 | |||
| 218 | CHECK_STRING (filename, 0); | 223 | CHECK_STRING (filename, 0); |
| 219 | 224 | ||
| 220 | #ifndef CANNOT_DUMP | 225 | #ifndef CANNOT_DUMP |