aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Rudalics2007-07-08 08:28:12 +0000
committerMartin Rudalics2007-07-08 08:28:12 +0000
commit0468beecc981e9d205c79bbdd02a7b01c09c9313 (patch)
tree0ab960007992e4c9c72a0c6f80af1de2bd8cde65
parent177ffe92bfbea69c11934aadc97c12312938469c (diff)
downloademacs-0468beecc981e9d205c79bbdd02a7b01c09c9313.tar.gz
emacs-0468beecc981e9d205c79bbdd02a7b01c09c9313.zip
(disabled-command-function): Fit window to buffer to
make last line visible.
-rw-r--r--lisp/ChangeLog9
-rw-r--r--lisp/novice.el5
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 @@
12007-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
12007-07-07 Jay Belanger <jay.p.belanger@gmail.com> 102007-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.
88SPC to try the command just this once, but leave it disabled. 88SPC 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))