mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-30 19:53:09 +00:00
(resize-temp-buffer-window): Add hack to avoid last line
being obscured by whizzy mode-lines on graphical displays.
This commit is contained in:
parent
f7e383f095
commit
61dfccfd5d
@ -1,3 +1,8 @@
|
||||
2000-10-17 Miles Bader <miles@gnu.org>
|
||||
|
||||
* help.el (resize-temp-buffer-window): Add hack to avoid last line
|
||||
being obscured by whizzy mode-lines on graphics displays.
|
||||
|
||||
2000-10-17 Eli Zaretskii <eliz@is.elta.co.il>
|
||||
|
||||
* info.el (Info-title-1-face, Info-title-2-face)
|
||||
|
@ -1470,6 +1470,11 @@ out of view."
|
||||
(min-height (1- window-min-height))
|
||||
(text-height (count-screen-lines))
|
||||
(new-height (max (min text-height max-height) min-height)))
|
||||
(when (display-graphic-p)
|
||||
;; This egregious hack is because mode-lines on graphics
|
||||
;; displays often use faces that make them more than one `line'
|
||||
;; high, and so obscure the last line of the window proper.
|
||||
(setq win-height (1- win-height)))
|
||||
(enlarge-window (- new-height win-height)))))
|
||||
|
||||
;; `help-manyarg-func-alist' is defined primitively (in doc.c).
|
||||
|
Loading…
Reference in New Issue
Block a user