[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
emacs-29 812597f864c: ; * lisp/novice.el (disabled-command-function): Ad
From: |
Eli Zaretskii |
Subject: |
emacs-29 812597f864c: ; * lisp/novice.el (disabled-command-function): Add note in a comment. |
Date: |
Sun, 12 Mar 2023 16:23:46 -0400 (EDT) |
branch: emacs-29
commit 812597f864c4c75525bc65d63a8016d6a6797c9f
Author: Eli Zaretskii <eliz@gnu.org>
Commit: Eli Zaretskii <eliz@gnu.org>
; * lisp/novice.el (disabled-command-function): Add note in a comment.
---
lisp/novice.el | 6 ++++++
1 file changed, 6 insertions(+)
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")
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- emacs-29 812597f864c: ; * lisp/novice.el (disabled-command-function): Add note in a comment.,
Eli Zaretskii <=