]> git.eshelyaron.com Git - emacs.git/commitdiff
(reread_doc_file): Don't ask for confirmation.
authorRichard M. Stallman <rms@gnu.org>
Sun, 19 May 2002 16:10:08 +0000 (16:10 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sun, 19 May 2002 16:10:08 +0000 (16:10 +0000)
src/doc.c

index 35640363046405845b66bf1236316e39f31094da..957c43d07b753f121490431b2eac82cec0f058e7 100644 (file)
--- a/src/doc.c
+++ b/src/doc.c
@@ -339,16 +339,18 @@ static int
 reread_doc_file (file)
      Lisp_Object file;
 {
+#if 0
   Lisp_Object reply, prompt[3];
   struct gcpro gcpro1;
   GCPRO1 (file);
   prompt[0] = build_string ("File ");
   prompt[1] = NILP (file) ? Vdoc_file_name : file;
-  prompt[2] = build_string (" is out-of-sync.  Reload? ");
+  prompt[2] = build_string (" is out of sync.  Reload? ");
   reply = Fy_or_n_p (Fconcat (3, prompt));
   UNGCPRO;
   if (NILP (reply))
     return 0;
+#endif
 
   if (NILP (file))
     Fsnarf_documentation (Vdoc_file_name);