summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp/pcase-tests.el
diff options
context:
space:
mode:
authorMartin Rudalics <rudalics@gmx.at>2019-10-11 08:46:52 +0200
committerMartin Rudalics <rudalics@gmx.at>2019-10-11 08:46:52 +0200
commite3f97d73653df725322d7f2392d36f858cce5a73 (patch)
treea87da8ba408b52a7efccad07359412fd4e7cbe7a /test/lisp/emacs-lisp/pcase-tests.el
parentfcfe6e279774b2e5100b0a660aaa3f3f75ed0a7a (diff)
downloademacs-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/pcase-tests.el')
0 files changed, 0 insertions, 0 deletions