[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 5d1f319 2/2: Minor doc clarification
From: |
Lars Ingebrigtsen |
Subject: |
[Emacs-diffs] master 5d1f319 2/2: Minor doc clarification |
Date: |
Fri, 29 Apr 2016 22:03:37 +0000 |
branch: master
commit 5d1f3192d484edee92caa46cd7d699da3e920259
Author: Lars Ingebrigtsen <address@hidden>
Commit: Lars Ingebrigtsen <address@hidden>
Minor doc clarification
* lisp/subr.el (y-or-n-p): Document the return value from "n"
(bug#18024).
---
lisp/subr.el | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/lisp/subr.el b/lisp/subr.el
index 6cc2585..5477500 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2478,7 +2478,8 @@ floating point support."
(declare-function x-popup-dialog "menu.c" (position contents &optional header))
(defun y-or-n-p (prompt)
- "Ask user a \"y or n\" question. Return t if answer is \"y\".
+ "Ask user a \"y or n\" question.
+Return t if answer is \"y\" and nil if it is \"n\".
PROMPT is the string to display to ask the question. It should
end in a space; `y-or-n-p' adds \"(y or n) \" to it.