fix: unresponsive which-key C-h bindings
Since the which-key window didn't have focus, its C-h keybinds were unpredictably unresponsive, making next/previous-page navigation et co finnicky. This commit restores the needed focus. Ref https://www.reddit.com/r/emacs/comments/pwr7va/comment/heydq4g
This commit is contained in:
parent
54b4e83f95
commit
b58fad7eee
1 changed files with 3 additions and 3 deletions
|
@ -374,9 +374,9 @@ Ugh, such an ugly hack."
|
|||
which-key-custom-hide-popup-function #'which-key--hide-buffer-side-window
|
||||
which-key-custom-show-popup-function
|
||||
(lambda (act-popup-dim)
|
||||
(letf! ((defun display-buffer-in-side-window (buffer alist)
|
||||
(+popup-display-buffer-stacked-side-window-fn
|
||||
buffer (append '((vslot . -9999)) alist))))
|
||||
(letf! (defun display-buffer-in-side-window (buffer alist)
|
||||
(+popup-display-buffer-stacked-side-window-fn
|
||||
buffer (append '((vslot . -9999) (select . t)) alist)))
|
||||
;; HACK Fix #2219 where the which-key popup would get cut off.
|
||||
(setcar act-popup-dim (1+ (car act-popup-dim)))
|
||||
(which-key--show-buffer-side-window act-popup-dim))))))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue