aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/subr.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/subr.el b/lisp/subr.el
index 6cc2585122c..5477500b322 100644
--- a/lisp/subr.el
+++ b/lisp/subr.el
@@ -2478,7 +2478,8 @@ floating point support."
2478(declare-function x-popup-dialog "menu.c" (position contents &optional header)) 2478(declare-function x-popup-dialog "menu.c" (position contents &optional header))
2479 2479
2480(defun y-or-n-p (prompt) 2480(defun y-or-n-p (prompt)
2481 "Ask user a \"y or n\" question. Return t if answer is \"y\". 2481 "Ask user a \"y or n\" question.
2482Return t if answer is \"y\" and nil if it is \"n\".
2482PROMPT is the string to display to ask the question. It should 2483PROMPT is the string to display to ask the question. It should
2483end in a space; `y-or-n-p' adds \"(y or n) \" to it. 2484end in a space; `y-or-n-p' adds \"(y or n) \" to it.
2484 2485