From: Lars Ingebrigtsen Date: Mon, 10 Feb 2014 06:04:39 +0000 (-0800) Subject: (Fyes_or_no_p): Doc fix X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~48 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=8cd86d0434bc8f3d4c59f564843f012abde25f45;p=emacs.git (Fyes_or_no_p): Doc fix Fixes: debbugs:15456 --- diff --git a/src/ChangeLog b/src/ChangeLog index 95e3056f035..f65319c9fe7 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 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) /* 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.