aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLars Ingebrigtsen2016-04-30 00:02:46 +0200
committerLars Ingebrigtsen2016-05-01 19:27:10 +0200
commit3852fd6e318b9860958c4a2b3c72d69e63ac2fbf (patch)
tree010dd640014400890da658e94aa3f67ee8473811
parentdb20f89634287e903f0900ccc632b536a13af455 (diff)
downloademacs-3852fd6e318b9860958c4a2b3c72d69e63ac2fbf.tar.gz
emacs-3852fd6e318b9860958c4a2b3c72d69e63ac2fbf.zip
Minor doc clarification
* lisp/subr.el (y-or-n-p): Document the return value from "n" (bug#18024). (cherry picked from commit 5d1f3192d484edee92caa46cd7d699da3e920259)
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index ce49604f811..00a947397ae 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2312,7 +2312,8 @@ floating point support."
2312(declare-function x-popup-dialog "menu.c" (position contents &optional header)) 2312(declare-function x-popup-dialog "menu.c" (position contents &optional header))
2313 2313
2314(defun y-or-n-p (prompt) 2314(defun y-or-n-p (prompt)
2315 "Ask user a \"y or n\" question. Return t if answer is \"y\". 2315 "Ask user a \"y or n\" question.
2316Return t if answer is \"y\" and nil if it is \"n\".
2316PROMPT is the string to display to ask the question. It should 2317PROMPT is the string to display to ask the question. It should
2317end in a space; `y-or-n-p' adds \"(y or n) \" to it. 2318end in a space; `y-or-n-p' adds \"(y or n) \" to it.
2318 2319