Skip to content
This repository has been archived by the owner on Jun 25, 2024. It is now read-only.

Commit

Permalink
; Use `memq' to be just as explicit as necessary
Browse files Browse the repository at this point in the history
* which-key.el (which-key--show-evil-operator-keymap):
Use `memq' to be just as explicit as necessary.
  • Loading branch information
jeremy-bryant authored and justbur committed Apr 9, 2024
1 parent 54b52f4 commit 2c9f941
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion which-key.el
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 2c9f941

Please sign in to comment.