aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1992-07-11 18:59:17 +0000
committerRichard M. Stallman1992-07-11 18:59:17 +0000
commitc763f396fc03f529308c04b0c66f0204e90b20dd (patch)
tree050cf0d4b4c801ae3140ee2d38618d3990465a80 /src
parent7047ec77690bdef675cc5e8983cbbc66d0d12a6d (diff)
downloademacs-c763f396fc03f529308c04b0c66f0204e90b20dd.tar.gz
emacs-c763f396fc03f529308c04b0c66f0204e90b20dd.zip
*** empty log message ***
Diffstat (limited to 'src')
-rw-r--r--src/fns.c10
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.")
1082 1082
1083DEFUN ("y-or-n-p", Fy_or_n_p, Sy_or_n_p, 1, 1, 0, 1083DEFUN ("y-or-n-p", Fy_or_n_p, Sy_or_n_p, 1, 1, 0,
1084 "Ask user a \"y or n\" question. Return t if answer is \"y\".\n\ 1084 "Ask user a \"y or n\" question. Return t if answer is \"y\".\n\
1085Takes one argument, which is the string to display to ask the question.\n\
1086It should end in a space; `y-or-n-p' adds `(y or n) ' to it.\n\
1085No confirmation of the answer is requested; a single character is enough.\n\ 1087No confirmation of the answer is requested; a single character is enough.\n\
1086Also accepts Space to mean yes, or Delete to mean no.") 1088Also accepts Space to mean yes, or Delete to mean no.")
1087 (prompt) 1089 (prompt)
@@ -1151,9 +1153,11 @@ do_yes_or_no_p (prompt)
1151/* Anything that calls this function must protect from GC! */ 1153/* Anything that calls this function must protect from GC! */
1152 1154
1153DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0, 1155DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
1154 "Ask user a yes or no question. Return t if answer is yes.\n\ 1156 "Ask user a yes-or-no question. Return t if answer is yes.\n\
1155The user must confirm the answer with a newline,\n\ 1157Takes one argument, which is the string to display to ask the question.\n\
1156and can rub it out if not confirmed.") 1158It should end in a space; `yes-or-no-p' adds `(yes or no) ' to it.\n\
1159The user must confirm the answer with RET,\n\
1160and can edit it until it as been confirmed.")
1157 (prompt) 1161 (prompt)
1158 Lisp_Object prompt; 1162 Lisp_Object prompt;
1159{ 1163{