# HG changeset patch # User Karl Heuer # Date 796947267 0 # Node ID ca5effbebf81b9f2a23dc65f55739c3951f1dfeb # Parent b0a12ea680c1ff8a82c8302c0d4ed5478c8919a3 (Fy_or_n_p): Don't log prompt. (Fyes_or_no_p): Fix typo in doc string. diff -r b0a12ea680c1 -r ca5effbebf81 src/fns.c --- a/src/fns.c Mon Apr 03 22:10:36 1995 +0000 +++ b/src/fns.c Mon Apr 03 22:14:27 1995 +0000 @@ -1261,7 +1261,7 @@ } #endif cursor_in_echo_area = 1; - message ("%s(y or n) ", XSTRING (xprompt)->data); + message_nolog ("%s(y or n) ", XSTRING (xprompt)->data); obj = read_filtered_event (1, 0, 0); cursor_in_echo_area = 0; @@ -1315,7 +1315,8 @@ if (! noninteractive) { cursor_in_echo_area = -1; - message ("%s(y or n) %c", XSTRING (xprompt)->data, answer ? 'y' : 'n'); + message_nolog ("%s(y or n) %c", + XSTRING (xprompt)->data, answer ? 'y' : 'n'); cursor_in_echo_area = ocech; } @@ -1341,7 +1342,7 @@ 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.") +and can edit it until it has been confirmed.") (prompt) Lisp_Object prompt; {