mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-06 03:40:56 -08:00
* doc.c (Fsnarf_documentation): Signal an error if this is
called in a dumped Emacs.
This commit is contained in:
parent
afa4c0f3cd
commit
2bda628c55
1 changed files with 5 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue