Skip to content

Commit

Permalink
Update which-key shim
Browse files Browse the repository at this point in the history
  • Loading branch information
DogLooksGood committed Dec 3, 2024
1 parent dd46c7a commit 504fe65
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions meow-shims.el
Original file line number Diff line number Diff line change
Expand Up @@ -395,13 +395,16 @@ Argument ENABLE non-nil means turn on."
(defun meow--which-key-describe-keymap ()
"Use which-key for keypad popup."
(if which-key-mode
(setq meow-keypad-describe-keymap-function
(setq
which-key-use-C-h-commands nil
meow-keypad-describe-keymap-function
(lambda (keymap)
(which-key--create-buffer-and-show nil keymap nil (concat "Meow: " (meow--keypad-format-keys))))
meow-keypad-clear-describe-keymap-function 'which-key--hide-popup)

(setq meow-keypad-describe-keymap-function 'meow-describe-keymap
meow-keypad-clear-describe-keymap-function nil)))
meow-keypad-clear-describe-keymap-function nil
which-key-use-C-h-commands t)))

Check warning on line 407 in meow-shims.el

View workflow job for this annotation

GitHub Actions / check (27.1, true)

assignment to free variable ‘which-key-use-C-h-commands’

Check warning on line 407 in meow-shims.el

View workflow job for this annotation

GitHub Actions / check (28.2, true)

assignment to free variable ‘which-key-use-C-h-commands’

(defun meow--setup-which-key (enable)
"Setup which-key.
Expand Down

0 comments on commit 504fe65

Please sign in to comment.