]> git.eshelyaron.com Git - emacs.git/commit
Fix `fit-window-to-buffer' (Bug#18498).
authorKan-Ru Chen <kanru@kanru.info>
Thu, 18 Sep 2014 12:06:17 +0000 (14:06 +0200)
committerMartin Rudalics <rudalics@gmx.at>
Thu, 18 Sep 2014 12:06:17 +0000 (14:06 +0200)
commitdf2ead390d7d54cb6c368e3099fb910a182ac7af
treec60a4615681342a56a4ee0725fa49751824cccf1
parent534f1f7cb6b25f05472d59b6b4757cb345f29b8d
Fix `fit-window-to-buffer' (Bug#18498).

* window.el (fit-window-to-buffer): When counting buffer width,
count the whole visible buffer.  Correctly convert the body-height
to pixel size for window-text-pixel-size (Bug#18498).
lisp/ChangeLog
lisp/window.el