* doc.c (Fsnarf_documentation): Signal an error if this is
called in a dumped Emacs.
This commit is contained in:
@@ -215,6 +215,11 @@ when doc strings are referred to later in the dumped Emacs.")
|
||||
char *name;
|
||||
extern char *index ();
|
||||
|
||||
#ifndef CANNOT_DUMP
|
||||
if (NILP (Vpurify_flag))
|
||||
error ("Snarf-documentation can only be called in an undumped Emacs");
|
||||
#endif
|
||||
|
||||
CHECK_STRING (filename, 0);
|
||||
|
||||
#ifndef CANNOT_DUMP
|
||||
|
||||
Reference in New Issue
Block a user