bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70894: [PATCH] * lisp/window.el (fit-window-to-buffer): Fix width ca


From: Morgan Smith
Subject: bug#70894: [PATCH] * lisp/window.el (fit-window-to-buffer): Fix width calculation
Date: Sun, 12 May 2024 09:25:31 -0400

Tags: patch

Hello!

I was playing around with `fit-window-to-buffer' after setting
`fit-window-to-buffer-horizontally' to `t'.  I noticed that it kept
setting the window too narrow.  After a quick investigation, I found
some suspicious looking calculation that mixed pixel and column units.

Interactively, it looks like this fixes the issue.

Thanks,

Morgan


Attachment: 0001-lisp-window.el-fit-window-to-buffer-Fix-width-calcul.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]