# HG changeset patch # User Karl Heuer # Date 933007358 0 # Node ID 31cd7d7a54dfc149fb13d4502722872cb45735a9 # Parent b4b6828139fd40e6d4b56bccc6f87001d8ad9d72 (Fy_or_n_p): Doc fix. diff -r b4b6828139fd -r 31cd7d7a54df src/fns.c --- a/src/fns.c Mon Jul 26 13:03:06 1999 +0000 +++ b/src/fns.c Mon Jul 26 16:42:38 1999 +0000 @@ -2381,14 +2381,17 @@ 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.\n\ +Also accepts Space to mean yes, or Delete to mean no. \(Actually, it uses\n\ +the bindings in query-replace-map; see the documentation of that variable\n\ +for more information. In this case, the useful bindings are `act', `skip',\n\ +`recenter', and `quit'.\)\n\ \n\ Under a windowing system a dialog box will be used if `last-nonmenu-event'\n\ is nil.") (prompt) Lisp_Object prompt; { - register Lisp_Object obj, key, def, answer_string, map; + register Lisp_Object obj, key, def, map; register int answer; Lisp_Object xprompt; Lisp_Object args[2]; @@ -2442,7 +2445,6 @@ key = Fmake_vector (make_number (1), obj); def = Flookup_key (map, key, Qt); - answer_string = Fsingle_key_description (obj); if (EQ (def, intern ("skip"))) {