diff options
| author | Richard M. Stallman | 2002-05-19 16:10:08 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2002-05-19 16:10:08 +0000 |
| commit | 13d7dc77af7e9b832851e77f142299128e04fc73 (patch) | |
| tree | d18c18443796dcd0282813cae55043098cf1e3d7 /src | |
| parent | 1d9cc345732fd4f2d2d412959f3a2a4549a4b79b (diff) | |
| download | emacs-13d7dc77af7e9b832851e77f142299128e04fc73.tar.gz emacs-13d7dc77af7e9b832851e77f142299128e04fc73.zip | |
(reread_doc_file): Don't ask for confirmation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/doc.c | 4 |
1 files changed, 3 insertions, 1 deletions
| @@ -339,16 +339,18 @@ static int | |||
| 339 | reread_doc_file (file) | 339 | reread_doc_file (file) |
| 340 | Lisp_Object file; | 340 | Lisp_Object file; |
| 341 | { | 341 | { |
| 342 | #if 0 | ||
| 342 | Lisp_Object reply, prompt[3]; | 343 | Lisp_Object reply, prompt[3]; |
| 343 | struct gcpro gcpro1; | 344 | struct gcpro gcpro1; |
| 344 | GCPRO1 (file); | 345 | GCPRO1 (file); |
| 345 | prompt[0] = build_string ("File "); | 346 | prompt[0] = build_string ("File "); |
| 346 | prompt[1] = NILP (file) ? Vdoc_file_name : file; | 347 | prompt[1] = NILP (file) ? Vdoc_file_name : file; |
| 347 | prompt[2] = build_string (" is out-of-sync. Reload? "); | 348 | prompt[2] = build_string (" is out of sync. Reload? "); |
| 348 | reply = Fy_or_n_p (Fconcat (3, prompt)); | 349 | reply = Fy_or_n_p (Fconcat (3, prompt)); |
| 349 | UNGCPRO; | 350 | UNGCPRO; |
| 350 | if (NILP (reply)) | 351 | if (NILP (reply)) |
| 351 | return 0; | 352 | return 0; |
| 353 | #endif | ||
| 352 | 354 | ||
| 353 | if (NILP (file)) | 355 | if (NILP (file)) |
| 354 | Fsnarf_documentation (Vdoc_file_name); | 356 | Fsnarf_documentation (Vdoc_file_name); |