]> git.eshelyaron.com Git - emacs.git/commit
Consider line spacing and font height when deriving proc window size
authorJohn Shahid <jvshahid@gmail.com>
Sat, 27 Apr 2019 16:21:38 +0000 (12:21 -0400)
committerEli Zaretskii <eliz@gnu.org>
Fri, 7 Jun 2019 08:53:17 +0000 (11:53 +0300)
commitad9eadbe4ab9811d5b4091a18d7a09d325e75fb3
tree4ebcc90a48e814504015b2c10fa8b3b4642cd610
parent3a1f92d09bbcb4dbd2a2ebe1bee0e564e51c4615
Consider line spacing and font height when deriving proc window size

* lisp/window.el (window-adjust-process-window-size): Use
  window-screen-lines instead of window-body-height.
* lisp/term.el (term-mode): Use window-screen-lines to set the initial
  window height.
lisp/term.el
lisp/window.el