tumashu / posframe

Pop a posframe (just a child-frame) at point, posframe is a **GNU ELPA** package!
443 stars 57 forks source link

posframe-show: Take mode-line-height into account from minibuffer #143

Closed tarsius closed 2 months ago

tarsius commented 2 months ago

When the current buffer is a minibuffer, use the height of the mode-line of the window above it. Without this the posframe covers the mode-line when using, e.g., posframe-poshandler-frame-bottom-right-corner and the posframe-show is called while the minibuffer is active.

The other two commits clean up whitespace and docstrings.

tumashu commented 2 months ago

Merged, thanks.

tarsius commented 2 months ago

You are welcome!