diff src/fns.c @ 759:58b7fc91b74a

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sat, 11 Jul 1992 18:59:17 +0000
parents 540b047ece4d
children f2efaa0394de
line wrap: on
line diff
--- a/src/fns.c	Fri Jul 10 22:19:56 1992 +0000
+++ b/src/fns.c	Sat Jul 11 18:59:17 1992 +0000
@@ -1082,6 +1082,8 @@
 
 DEFUN ("y-or-n-p", Fy_or_n_p, Sy_or_n_p, 1, 1, 0,
   "Ask user a \"y or n\" question.  Return t if answer is \"y\".\n\
+Takes one argument, which is the string to display to ask the question.\n\
+It should end in a space; `y-or-n-p' adds `(y or n) ' to it.\n\
 No confirmation of the answer is requested; a single character is enough.\n\
 Also accepts Space to mean yes, or Delete to mean no.")
   (prompt)
@@ -1151,9 +1153,11 @@
 /* Anything that calls this function must protect from GC!  */
 
 DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
-  "Ask user a yes or no question.  Return t if answer is yes.\n\
-The user must confirm the answer with a newline,\n\
-and can rub it out if not confirmed.")
+  "Ask user a yes-or-no question.  Return t if answer is yes.\n\
+Takes one argument, which is the string to display to ask the question.\n\
+It should end in a space; `yes-or-no-p' adds `(yes or no) ' to it.\n\
+The user must confirm the answer with RET,\n\
+and can edit it until it as been confirmed.")
   (prompt)
      Lisp_Object prompt;
 {