diff --git a/which-key.el b/which-key.el index 1243bc02806..6f131f08985 100644 --- a/which-key.el +++ b/which-key.el @@ -1536,7 +1536,8 @@ enough space based on your settings and frame size." prefix-keys) ;; used for paging at top-level (if (fboundp 'set-transient-map) (set-transient-map (which-key--get-popup-map)) - (set-temporary-overlay-map (which-key--get-popup-map))))) + (with-no-warnings + (set-temporary-overlay-map (which-key--get-popup-map)))))) (defun which-key-show-next-page () "Show the next page of keys.