From 2c9f94162c20e18bee23625047e9192525632811 Mon Sep 17 00:00:00 2001 From: Jeremy Bryant Date: Wed, 3 Apr 2024 22:43:19 +0100 Subject: [PATCH] ; Use `memq' to be just as explicit as necessary * which-key.el (which-key--show-evil-operator-keymap): Use `memq' to be just as explicit as necessary. --- which-key.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/which-key.el b/which-key.el index 57825ca..8c6d423 100644 --- a/which-key.el +++ b/which-key.el @@ -2672,7 +2672,7 @@ KEYMAP is selected interactively by mode in nil "evil operator/motion keys")) (which-key--show-page))))) (let ((key (read-key))) - (when (member key '(?f ?F ?t ?T ?`)) + (when (memq key '(?f ?F ?t ?T ?`)) ;; these keys trigger commands that read the next char manually (setq which-key--inhibit-next-operator-popup t)) (cond ((and which-key-use-C-h-commands (numberp key) (= key help-char))