aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorLars Ingebrigtsen2014-02-09 22:04:39 -0800
committerLars Ingebrigtsen2014-02-09 22:04:39 -0800
commit8cd86d0434bc8f3d4c59f564843f012abde25f45 (patch)
treefd77b3301ff144f22c091b2368574dffce27c0b5 /src
parenta3a8a7da5be16ccb572c1ff97194cc105bf940eb (diff)
downloademacs-8cd86d0434bc8f3d4c59f564843f012abde25f45.tar.gz
emacs-8cd86d0434bc8f3d4c59f564843f012abde25f45.zip
(Fyes_or_no_p): Doc fix
Fixes: debbugs:15456
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog1
-rw-r--r--src/fns.c3
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 95e3056f035..f65319c9fe7 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,7 @@
2 2
3 * fns.c (Fmaphash): Say what `maphash' returns, since it may be 3 * fns.c (Fmaphash): Say what `maphash' returns, since it may be
4 unintuitive (bug#15824). 4 unintuitive (bug#15824).
5 (Fyes_or_no_p): Doc fix (bug#15456).
5 6
62014-02-10 Dmitry Antipov <dmantipov@yandex.ru> 72014-02-10 Dmitry Antipov <dmantipov@yandex.ru>
7 8
diff --git a/src/fns.c b/src/fns.c
index eb69ce12816..7b3d41d5374 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -2425,7 +2425,8 @@ do_yes_or_no_p (Lisp_Object prompt)
2425/* Anything that calls this function must protect from GC! */ 2425/* Anything that calls this function must protect from GC! */
2426 2426
2427DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0, 2427DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
2428 doc: /* Ask user a yes-or-no question. Return t if answer is yes. 2428 doc: /* Ask user a yes-or-no question.
2429Return t if answer is yes, and nil if the answer is no.
2429PROMPT is the string to display to ask the question. It should end in 2430PROMPT is the string to display to ask the question. It should end in
2430a space; `yes-or-no-p' adds \"(yes or no) \" to it. 2431a space; `yes-or-no-p' adds \"(yes or no) \" to it.
2431 2432