aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-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