summaryrefslogtreecommitdiff
path: root/lisp/novice.el
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2023-03-12 22:22:41 +0200
committerEli Zaretskii <eliz@gnu.org>2023-03-12 22:22:41 +0200
commit812597f864c4c75525bc65d63a8016d6a6797c9f (patch)
treefca994a795a1d2da4bcf31ffafd6f362acbc6c5a /lisp/novice.el
parent4a603c98499e6ffc0ea4b061a2895b4f7f8cb1c3 (diff)
downloademacs-812597f864c4c75525bc65d63a8016d6a6797c9f.tar.gz
; * lisp/novice.el (disabled-command-function): Add note in a comment.
Diffstat (limited to 'lisp/novice.el')
-rw-r--r--lisp/novice.el6
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/novice.el b/lisp/novice.el
index 18fb9f6c9fc..05e4bfc91c9 100644
--- a/lisp/novice.el
+++ b/lisp/novice.el
@@ -84,6 +84,12 @@ You can now type:
\\`SPC' to try the command just this once, but leave it disabled.
\\`!' to enable it and all the disabled commands for this session.")))
(char
+ ;; Note: the prompt produced from the choices below must not
+ ;; overflow a single screen line, because otherwise it will
+ ;; cause the mini-window to resize, which will in turn hide
+ ;; the last line of the help text above: the code which fits
+ ;; the window to the size of the help text does not expect
+ ;; the mini-window to become taller.
(car (read-multiple-choice "Use this command?"
'((?n "no")
(?y "yes")