diff options
| -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 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. |
| 2482 | Return t if answer is \"y\" and nil if it is \"n\". | ||
| 2482 | PROMPT is the string to display to ask the question. It should | 2483 | PROMPT is the string to display to ask the question. It should |
| 2483 | end in a space; `y-or-n-p' adds \"(y or n) \" to it. | 2484 | end in a space; `y-or-n-p' adds \"(y or n) \" to it. |
| 2484 | 2485 | ||