diff options
author | Richard M. Stallman <rms@gnu.org> | 1992-07-11 18:59:17 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1992-07-11 18:59:17 +0000 |
commit | c92d19d3529c47fdef4e121964ed148a4aebe6de (patch) | |
tree | 21180fbe17e5fe63f92c9b2739bfb7fc7b2e96a5 /src | |
parent | 984baeebd701423c2fa6ade92ac1de4fe0757250 (diff) | |
download | emacs-c92d19d3529c47fdef4e121964ed148a4aebe6de.tar.gz |
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r-- | src/fns.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c index b30a2422f7f..90b2c0371b0 100644 --- a/src/fns.c +++ b/src/fns.c @@ -1082,6 +1082,8 @@ SEQUENCE may be a list, a vector or a string.") 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 @@ do_yes_or_no_p (prompt) /* 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; { |