diff options
| author | Martin Rudalics | 2007-07-08 08:28:12 +0000 |
|---|---|---|
| committer | Martin Rudalics | 2007-07-08 08:28:12 +0000 |
| commit | 0468beecc981e9d205c79bbdd02a7b01c09c9313 (patch) | |
| tree | 0ab960007992e4c9c72a0c6f80af1de2bd8cde65 | |
| parent | 177ffe92bfbea69c11934aadc97c12312938469c (diff) | |
| download | emacs-0468beecc981e9d205c79bbdd02a7b01c09c9313.tar.gz emacs-0468beecc981e9d205c79bbdd02a7b01c09c9313.zip | |
(disabled-command-function): Fit window to buffer to
make last line visible.
| -rw-r--r-- | lisp/ChangeLog | 9 | ||||
| -rw-r--r-- | lisp/novice.el | 5 |
2 files changed, 12 insertions, 2 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index ebce356719f..dfea40b56ba 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,12 @@ | |||
| 1 | 2007-07-08 Martin Rudalics <rudalics@gmx.at> | ||
| 2 | |||
| 3 | * novice.el (disabled-command-function): Fit window to buffer to | ||
| 4 | make last line visible. | ||
| 5 | Reported by Stephen Berman <Stephen.Berman at gmx.net>. | ||
| 6 | |||
| 7 | * mouse.el (mouse-drag-track): Reset transient-mark-mode to nil | ||
| 8 | when handling the terminating event. | ||
| 9 | |||
| 1 | 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com> | 10 | 2007-07-07 Jay Belanger <jay.p.belanger@gmail.com> |
| 2 | 11 | ||
| 3 | * calc/calc.el (math-read-number-simple): Remove leading 0s. | 12 | * calc/calc.el (math-read-number-simple): Remove leading 0s. |
diff --git a/lisp/novice.el b/lisp/novice.el index f5c3019dfc2..346877dcdda 100644 --- a/lisp/novice.el +++ b/lisp/novice.el | |||
| @@ -88,8 +88,9 @@ n to cancel--don't try the command, and it remains disabled. | |||
| 88 | SPC to try the command just this once, but leave it disabled. | 88 | SPC to try the command just this once, but leave it disabled. |
| 89 | ! to try it, and enable all disabled commands for this session only.") | 89 | ! to try it, and enable all disabled commands for this session only.") |
| 90 | (save-excursion | 90 | (save-excursion |
| 91 | (set-buffer standard-output) | 91 | (set-buffer standard-output) |
| 92 | (help-mode))) | 92 | (help-mode))) |
| 93 | (fit-window-to-buffer (get-buffer-window "*Disabled Command*")) | ||
| 93 | (message "Type y, n, ! or SPC (the space bar): ") | 94 | (message "Type y, n, ! or SPC (the space bar): ") |
| 94 | (let ((cursor-in-echo-area t)) | 95 | (let ((cursor-in-echo-area t)) |
| 95 | (while (progn (setq char (read-event)) | 96 | (while (progn (setq char (read-event)) |