]> git.eshelyaron.com Git - emacs.git/commit
Improve the `long' computation of `mode-line-compact'
authorLars Ingebrigtsen <larsi@gnus.org>
Wed, 30 Dec 2020 02:34:17 +0000 (03:34 +0100)
committerLars Ingebrigtsen <larsi@gnus.org>
Wed, 30 Dec 2020 02:34:17 +0000 (03:34 +0100)
commitdc308c80ee5825d237ac535247f48d0237a24dad
tree3c1d4ec54ee4eb235849c08561c3e1685158bbfd
parentcfb0f1c07ca97536fdc0e472e0f14c38c982df2b
Improve the `long' computation of `mode-line-compact'

* src/xdisp.c (display_mode_line): Compute `long' based on total
window width, and use the passed-in window instead of the selected
window.
src/xdisp.c