Mercurial > emacs
changeset 45368:65ad2c8b301b
(reread_doc_file): Don't ask for confirmation.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sun, 19 May 2002 16:10:08 +0000 |
parents | 2a9743cfbeab |
children | 4d4036be4f4d |
files | src/doc.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/doc.c Sun May 19 16:09:28 2002 +0000 +++ b/src/doc.c Sun May 19 16:10:08 2002 +0000 @@ -339,16 +339,18 @@ 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);