]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fyes_or_no_p): Doc fix
authorLars Ingebrigtsen <larsi@gnus.org>
Mon, 10 Feb 2014 06:04:39 +0000 (22:04 -0800)
committerLars Ingebrigtsen <larsi@gnus.org>
Mon, 10 Feb 2014 06:04:39 +0000 (22:04 -0800)
Fixes: debbugs:15456
src/ChangeLog
src/fns.c

index 95e3056f0359ce18b17a377e96a1aee66449d149..f65319c9fe7633021f9b030c1541d9aca9133f5f 100644 (file)
@@ -2,6 +2,7 @@
 
        * fns.c (Fmaphash): Say what `maphash' returns, since it may be
        unintuitive (bug#15824).
+       (Fyes_or_no_p): Doc fix (bug#15456).
 
 2014-02-10  Dmitry Antipov  <dmantipov@yandex.ru>
 
index eb69ce128169092c21f0ee8ce13ea90eedd1fe11..7b3d41d5374fb82d194d9dbbb30bddf3e6d4382c 100644 (file)
--- a/src/fns.c
+++ b/src/fns.c
@@ -2425,7 +2425,8 @@ do_yes_or_no_p (Lisp_Object prompt)
 /* Anything that calls this function must protect from GC!  */
 
 DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0,
-       doc: /* Ask user a yes-or-no question.  Return t if answer is yes.
+       doc: /* Ask user a yes-or-no question.
+Return t if answer is yes, and nil if the answer is no.
 PROMPT is the string to display to ask the question.  It should end in
 a space; `yes-or-no-p' adds \"(yes or no) \" to it.