aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp')
-rw-r--r--lisp/emacs-lisp/map-ynp.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/lisp/emacs-lisp/map-ynp.el b/lisp/emacs-lisp/map-ynp.el
index b3e7fca4781..c47025f8846 100644
--- a/lisp/emacs-lisp/map-ynp.el
+++ b/lisp/emacs-lisp/map-ynp.el
@@ -278,11 +278,17 @@ Type \\`SPC' or \\`y' to %s the current %s;
278 278
279;; For backward compatibility check if short y/n answers are preferred. 279;; For backward compatibility check if short y/n answers are preferred.
280(defcustom read-answer-short 'auto 280(defcustom read-answer-short 'auto
281 "If non-nil, `read-answer' accepts single-character answers. 281 "If non-nil, the `read-answer' function accepts single-character answers.
282If t, accept short (single key-press) answers to the question. 282If t, accept short (single key-press) answers to the question.
283If nil, require long answers. If `auto', accept short answers if 283If nil, require long answers. If `auto', accept short answers if
284`use-short-answers' is non-nil, or the function cell of `yes-or-no-p' 284`use-short-answers' is non-nil, or the function cell of `yes-or-no-p'
285is set to `y-or-n-p'." 285is set to `y-or-n-p'.
286
287Note that this variable does not affect calls to the more
288commonly-used `yes-or-no-p' function; it only affects calls to
289the `read-answer' function. To control whether `yes-or-no-p'
290requires a long or a short answer, see the `use-short-answers'
291variable."
286 :type '(choice (const :tag "Accept short answers" t) 292 :type '(choice (const :tag "Accept short answers" t)
287 (const :tag "Require long answer" nil) 293 (const :tag "Require long answer" nil)
288 (const :tag "Guess preference" auto)) 294 (const :tag "Guess preference" auto))