diff options
| author | Lars Ingebrigtsen | 2014-02-09 22:04:39 -0800 |
|---|---|---|
| committer | Lars Ingebrigtsen | 2014-02-09 22:04:39 -0800 |
| commit | 8cd86d0434bc8f3d4c59f564843f012abde25f45 (patch) | |
| tree | fd77b3301ff144f22c091b2368574dffce27c0b5 /src/fns.c | |
| parent | a3a8a7da5be16ccb572c1ff97194cc105bf940eb (diff) | |
| download | emacs-8cd86d0434bc8f3d4c59f564843f012abde25f45.tar.gz emacs-8cd86d0434bc8f3d4c59f564843f012abde25f45.zip | |
(Fyes_or_no_p): Doc fix
Fixes: debbugs:15456
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -2425,7 +2425,8 @@ do_yes_or_no_p (Lisp_Object prompt) | |||
| 2425 | /* Anything that calls this function must protect from GC! */ | 2425 | /* Anything that calls this function must protect from GC! */ |
| 2426 | 2426 | ||
| 2427 | DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0, | 2427 | DEFUN ("yes-or-no-p", Fyes_or_no_p, Syes_or_no_p, 1, 1, 0, |
| 2428 | doc: /* Ask user a yes-or-no question. Return t if answer is yes. | 2428 | doc: /* Ask user a yes-or-no question. |
| 2429 | Return t if answer is yes, and nil if the answer is no. | ||
| 2429 | PROMPT is the string to display to ask the question. It should end in | 2430 | PROMPT is the string to display to ask the question. It should end in |
| 2430 | a space; `yes-or-no-p' adds \"(yes or no) \" to it. | 2431 | a space; `yes-or-no-p' adds \"(yes or no) \" to it. |
| 2431 | 2432 | ||