]> jturnerusa.dev Git - emacs.d/commit
removed display-buffer-alist update function
authorJohn Turner <jturner.usa@gmail.com>
Wed, 5 Oct 2022 02:32:18 +0000 (22:32 -0400)
committerJohn Turner <jturner.usa@gmail.com>
Wed, 5 Oct 2022 02:32:18 +0000 (22:32 -0400)
commit8a028d54dd3e694e0497cea2ba3c34d02d37aa16
tree65dbf865fa9faaeb23ca42b0440cc8df9bd2864e
parent3cc613b5091b0a2daab1b59b081743c463440692
removed display-buffer-alist update function

Before we had a function that updated display-buffer-alist whenever
the frame's size was changed, so that info windows like flymake or
flycheck open would snap to either the bottom or right hand side of the
frame depending on whether the window manager had the frame squeezed
vertically (like when you have two windows side by side split
vertically).

Now instead of having that function run every time the frame resizes,
we just make the 'side property a function that should get evaluated
each time the property is read. The function returns either 'bottom or
'right depending on the frame's current size in pixels.
config/display-buffer/config-display-buffer-alist.el
config/flycheck/config-flycheck.el
config/flymake/config-flymake.el