summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>1999-02-08 13:59:24 +0000
committerDave Love <fx@gnu.org>1999-02-08 13:59:24 +0000
commit0c6ca44b7a55eb17266f4a85737127b228560540 (patch)
tree5071072b625b7cfaaf7d0163fde47cef85dc5f84 /src/fns.c
parenta7bc7c2a69a452d7fa57ee3f4d2ad47ae44b0cb5 (diff)
downloademacs-0c6ca44b7a55eb17266f4a85737127b228560540.tar.gz
(Fyes_or_no_p, Fy_or_n_p): Doc fix.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/fns.c b/src/fns.c
index 95493da13be..821ee247926 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -1,5 +1,5 @@
/* Random utility Lisp functions.
- Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1985, 86, 87, 93, 94, 95, 97, 98, 1999 Free Software Foundation, Inc.
This file is part of GNU Emacs.
@@ -2376,7 +2376,10 @@ DEFUN ("y-or-n-p", Fy_or_n_p, Sy_or_n_p, 1, 1, 0,
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.")
+Also accepts Space to mean yes, or Delete to mean no.\n\
+\n\
+Under a windowing system a dialog box will be used if `last-nonmenu-event'\n\
+is nil.")
(prompt)
Lisp_Object prompt;
{
@@ -2506,7 +2509,10 @@ DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
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 has been confirmed.")
+and can edit it until it has been confirmed.\n\
+\n\
+Under a windowing system a dialog box will be used if `last-nonmenu-event'\n\
+is nil.")
(prompt)
Lisp_Object prompt;
{