diff options
author | Martin Rudalics <rudalics@gmx.at> | 2019-10-11 08:46:52 +0200 |
---|---|---|
committer | Martin Rudalics <rudalics@gmx.at> | 2019-10-11 08:46:52 +0200 |
commit | e3f97d73653df725322d7f2392d36f858cce5a73 (patch) | |
tree | a87da8ba408b52a7efccad07359412fd4e7cbe7a /test/lisp/emacs-lisp/edebug-tests.el | |
parent | fcfe6e279774b2e5100b0a660aaa3f3f75ed0a7a (diff) | |
download | emacs-e3f97d73653df725322d7f2392d36f858cce5a73.tar.gz emacs-e3f97d73653df725322d7f2392d36f858cce5a73.tar.bz2 emacs-e3f97d73653df725322d7f2392d36f858cce5a73.zip |
Fixes for fitting windows and frames to their buffers (Bug#37563)
* lisp/window.el (window-default-font-height)
(window-default-line-height): New functions.
(fit-frame-to-buffer): Interpret values of MAX-HEIGHT and
MIN-HEIGHT arguments in terms of WINDOW's default line height
(Bug#37563).
(fit-window-to-buffer): Obey size restricting arguments even
when size of WINDOW's text does not change. Do not
temporarily select WINDOW and perform height/width related
calculations if and only if WINDOW is accordingly combined.
Interpret values of MAX-HEIGHT and MIN-HEIGHT arguments in
terms of WINDOW's default line height.
Diffstat (limited to 'test/lisp/emacs-lisp/edebug-tests.el')
0 files changed, 0 insertions, 0 deletions