]> git.eshelyaron.com Git - emacs.git/commit
* lisp/window.el (fit-window-to-buffer): Fix width calculation
authorMorgan Smith <Morgan.J.Smith@outlook.com>
Sun, 12 May 2024 13:19:30 +0000 (09:19 -0400)
committerEshel Yaron <me@eshelyaron.com>
Thu, 23 May 2024 07:42:08 +0000 (09:42 +0200)
commit44dcfe8077185c48a603648b830c4b661af9ae84
treeb374b26cdf0a340a6468078a0f897a2634e7fe2c
parent02e7c850bacb7bc0c9ad883ddcc800f43cbc25c2
* lisp/window.el (fit-window-to-buffer): Fix width calculation

When PIXELWISE is nil, we still calculate width in pixels and
then convert it to columns.  However, part of the calculation
was using columns where it should have used pixels.  (Bug#70894)

(cherry picked from commit 42d444114d8df0ffddf1e80891a386c0edcbd976)
lisp/window.el