Skip to content

Commit

Permalink
Remove unnecessary eval-when-compile from definition
Browse files Browse the repository at this point in the history
* which-key.el (which-key--ignore-keys-regexp):  Remove eval-when-compile.
  • Loading branch information
jeremy-bryant authored and justbur committed Feb 26, 2024
1 parent 5fbdf05 commit bc3c0c6
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions which-key.el
Expand Up @@ -756,10 +756,9 @@ Used when `which-key-popup-type' is frame.")
(regexp-opt '("mouse-" "wheel-" "remap" "drag-" "scroll-bar"
"select-window" "switch-frame" "which-key"))))
(defvar which-key--ignore-keys-regexp
(eval-when-compile
(regexp-opt '("mouse-" "wheel-" "remap" "drag-" "scroll-bar"
"select-window" "switch-frame" "-state"
"which-key"))))
(regexp-opt '("mouse-" "wheel-" "remap" "drag-" "scroll-bar"
"select-window" "switch-frame" "-state"
"which-key")))

(defvar which-key--pages-obj nil)
(cl-defstruct which-key--pages
Expand Down

0 comments on commit bc3c0c6

Please sign in to comment.