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

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

bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacin


From: martin rudalics
Subject: bug#37563: 27.0.50; fit-frame-to-buffer does not account for line-spacing
Date: Tue, 1 Oct 2019 09:32:08 +0200

> 1) When max-height is provided, the actual frame height is calculated in
> ll 8736ff of window.el (as of commit
> 5746202c182a9c69c732beb29b8507a6e6364799), and that just multiplies by
> the char-height, which excludes the line-spacing.  This is the buggy
> case.

I attached a fix.  Please try it.

Many thanks for the report, martin

Attachment: fit-frame-to-buffer.diff
Description: Text document


reply via email to

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