You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
John Turner d314fe16f7
created display-buffer-in-side-window wrapper function
The old display-buffer-alist thing did not work like I expected it to,
so we removed it.

Instead of trying to update display-buffer-alist
when the screen resizes via a hook, we just create our own display function that
can be used in display-buffer-alist directly. The function takes a
"which-side" property in the alist, the property holds a function that returns
which side the new buffer will snap to when invoked. The display
function then creates a new alist with the side property and any other
properties were passed in, and calls display-buffer-in-side-window
with the new alist.

This allows us to use this function as if it were
display-buffer-in-side-window, but with an extra property to decide
which side the window snaps to each time the function is invoked. This
is useful if you want side windows to snap to different parts of the
screen based on the current size of the frame, or anything else.
2 years ago
..
company init 2 years ago
conf-mode init 2 years ago
dired init 2 years ago
display-buffer created display-buffer-in-side-window wrapper function 2 years ago
eglot init 2 years ago
eldoc init 2 years ago
electric init 2 years ago
flycheck created display-buffer-in-side-window wrapper function 2 years ago
flymake created display-buffer-in-side-window wrapper function 2 years ago
garbage-collection init 2 years ago
ibuffer tweaked ibuffer-formats width variables for the "name" column 2 years ago
keys setup ibuffer 2 years ago
lsp-mode init 2 years ago
man restored man config module 2 years ago
native-comp init 2 years ago
package init 2 years ago
prog-mode init 2 years ago
project init 2 years ago
recentf init 2 years ago
savehist init 2 years ago
text-mode init 2 years ago
tramp init 2 years ago