Commit 0468beec authored by Martin Rudalics's avatar Martin Rudalics
Browse files

(disabled-command-function): Fit window to buffer to

make last line visible.
parent 177ffe92
2007-07-08 Martin Rudalics <rudalics@gmx.at>
* novice.el (disabled-command-function): Fit window to buffer to
make last line visible.
Reported by Stephen Berman <Stephen.Berman at gmx.net>.
* mouse.el (mouse-drag-track): Reset transient-mark-mode to nil
when handling the terminating event.
2007-07-07 Jay Belanger <jay.p.belanger@gmail.com>
* calc/calc.el (math-read-number-simple): Remove leading 0s.
......
......@@ -88,8 +88,9 @@ n to cancel--don't try the command, and it remains disabled.
SPC to try the command just this once, but leave it disabled.
! to try it, and enable all disabled commands for this session only.")
(save-excursion
(set-buffer standard-output)
(help-mode)))
(set-buffer standard-output)
(help-mode)))
(fit-window-to-buffer (get-buffer-window "*Disabled Command*"))
(message "Type y, n, ! or SPC (the space bar): ")
(let ((cursor-in-echo-area t))
(while (progn (setq char (read-event))
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment