aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKarl Heuer1999-07-26 16:42:38 +0000
committerKarl Heuer1999-07-26 16:42:38 +0000
commit2b8503eae9210941144e0eefe73cbeba3dd531b3 (patch)
tree3d536fc1c0bd8b90b588f141cc19e68b9da224a8 /src
parent3d08948993c895097bebdc51125ab6d4f83e4807 (diff)
downloademacs-2b8503eae9210941144e0eefe73cbeba3dd531b3.tar.gz
emacs-2b8503eae9210941144e0eefe73cbeba3dd531b3.zip
(Fy_or_n_p): Doc fix.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index 6591a7b52d5..a9b2d2af9ee 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2381,14 +2381,17 @@ DEFUN ("y-or-n-p", Fy_or_n_p, Sy_or_n_p, 1, 1, 0,
2381Takes one argument, which is the string to display to ask the question.\n\ 2381Takes one argument, which is the string to display to ask the question.\n\
2382It should end in a space; `y-or-n-p' adds `(y or n) ' to it.\n\ 2382It should end in a space; `y-or-n-p' adds `(y or n) ' to it.\n\
2383No confirmation of the answer is requested; a single character is enough.\n\ 2383No confirmation of the answer is requested; a single character is enough.\n\
2384Also accepts Space to mean yes, or Delete to mean no.\n\ 2384Also accepts Space to mean yes, or Delete to mean no. \(Actually, it uses\n\
2385the bindings in query-replace-map; see the documentation of that variable\n\
2386for more information. In this case, the useful bindings are `act', `skip',\n\
2387`recenter', and `quit'.\)\n\
2385\n\ 2388\n\
2386Under a windowing system a dialog box will be used if `last-nonmenu-event'\n\ 2389Under a windowing system a dialog box will be used if `last-nonmenu-event'\n\
2387is nil.") 2390is nil.")
2388 (prompt) 2391 (prompt)
2389 Lisp_Object prompt; 2392 Lisp_Object prompt;
2390{ 2393{
2391 register Lisp_Object obj, key, def, answer_string, map; 2394 register Lisp_Object obj, key, def, map;
2392 register int answer; 2395 register int answer;
2393 Lisp_Object xprompt; 2396 Lisp_Object xprompt;
2394 Lisp_Object args[2]; 2397 Lisp_Object args[2];
@@ -2442,7 +2445,6 @@ is nil.")
2442 2445
2443 key = Fmake_vector (make_number (1), obj); 2446 key = Fmake_vector (make_number (1), obj);
2444 def = Flookup_key (map, key, Qt); 2447 def = Flookup_key (map, key, Qt);
2445 answer_string = Fsingle_key_description (obj);
2446 2448
2447 if (EQ (def, intern ("skip"))) 2449 if (EQ (def, intern ("skip")))
2448 { 2450 {