From d69ef9edaae3fc4ad9715e3ce99aa112253b0cdd Mon Sep 17 00:00:00 2001 From: Jeremy Bryant Date: Sat, 24 Feb 2024 11:58:49 +0000 Subject: [PATCH] ; Add sharp-quotes to function names 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. --- which-key.el | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/which-key.el b/which-key.el index a9087e2..600f02f 100644 --- a/which-key.el +++ b/which-key.el @@ -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'.")