From 2a41f4ae766cf0b150cc8ec054b30e60e1a438d4 Mon Sep 17 00:00:00 2001 From: Stefan Kangas Date: Sun, 3 Nov 2024 04:14:56 +0100 Subject: [PATCH] Remove Emacs 24.4 compat code from which-key * lisp/which-key.el (which-key--show-page): Remove Emacs 24.4 compatibility code. --- lisp/which-key.el | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lisp/which-key.el b/lisp/which-key.el index 1da9a25090f..1039f2427df 100644 --- a/lisp/which-key.el +++ b/lisp/which-key.el @@ -2346,10 +2346,7 @@ enough space based on your settings and frame size." prefix-keys) (when (cdr page-echo) (funcall (cdr page-echo))) (which-key--show-popup (cons height width))))) ;; used for paging at top-level - (if (fboundp 'set-transient-map) - (set-transient-map (which-key--get-popup-map)) - (with-no-warnings - (set-temporary-overlay-map (which-key--get-popup-map)))))) + (set-transient-map (which-key--get-popup-map)))) ;;; Paging functions