Skip to content

Commit

Permalink
; Add sharp-quotes to function names
Browse files Browse the repository at this point in the history
Replace quoted list by (list ...) where each
element is sharp-quoted so that the byte-compiler can check if the
functions exist.

* which-key.el (which-key--paging-functions):  Add sharp-quotes to
function names.
  • Loading branch information
jeremy-bryant authored and justbur committed Feb 27, 2024
1 parent bc3c0c6 commit d69ef9e
Showing 1 changed file with 10 additions and 9 deletions.
19 changes: 10 additions & 9 deletions which-key.el
Expand Up @@ -525,15 +525,16 @@ This string is fed into `substitute-command-keys'")
map)
"Keymap for C-h commands.")

(defvar which-key--paging-functions '(which-key-C-h-dispatch
which-key-manual-update
which-key-turn-page
which-key-show-next-page-cycle
which-key-show-next-page-no-cycle
which-key-show-previous-page-cycle
which-key-show-previous-page-no-cycle
which-key-undo-key
which-key-undo))
(defvar which-key--paging-functions
(list #'which-key-C-h-dispatch
#'which-key-manual-update
#'which-key-turn-page
#'which-key-show-next-page-cycle
#'which-key-show-next-page-no-cycle
#'which-key-show-previous-page-cycle
#'which-key-show-previous-page-no-cycle
#'which-key-undo-key
#'which-key-undo))

(defvar which-key-persistent-popup nil
"Whether or not to disable `which-key--hide-popup'.")
Expand Down

0 comments on commit d69ef9e

Please sign in to comment.