From 8cd86d0434bc8f3d4c59f564843f012abde25f45 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 9 Feb 2014 22:04:39 -0800 Subject: [PATCH] (Fyes_or_no_p): Doc fix Fixes: debbugs:15456 --- src/ChangeLog | 1 + src/fns.c | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) 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. -- 2.39.2