diff options
Diffstat (limited to 'lisp')
| -rw-r--r-- | lisp/subr.el | 3 |
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. |
| 2316 | Return t if answer is \"y\" and nil if it is \"n\". | ||
| 2316 | PROMPT is the string to display to ask the question. It should | 2317 | PROMPT is the string to display to ask the question. It should |
| 2317 | end in a space; `y-or-n-p' adds \"(y or n) \" to it. | 2318 | end in a space; `y-or-n-p' adds \"(y or n) \" to it. |
| 2318 | 2319 | ||