changeset 1116:6d0d442e2ada

* doc.c (Fsnarf_documentation): Signal an error if this is called in a dumped Emacs.
author Jim Blandy <jimb@redhat.com>
date Sun, 13 Sep 1992 12:20:40 +0000
parents eb7f1ab33a9d
children 878afcdce84e
files src/doc.c
diffstat 1 files changed, 5 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/doc.c	Sun Sep 13 12:19:42 1992 +0000
+++ b/src/doc.c	Sun Sep 13 12:20:40 1992 +0000
@@ -215,6 +215,11 @@
   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