From: Stefan Kangas Date: Sun, 3 Nov 2024 03:14:56 +0000 (+0100) Subject: Remove Emacs 24.4 compat code from which-key X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=32d5fdeb4e0a4a6218e481b1590dadb3e071e8ff;p=emacs.git Remove Emacs 24.4 compat code from which-key * lisp/which-key.el (which-key--show-page): Remove Emacs 24.4 compatibility code. (cherry picked from commit 2a41f4ae766cf0b150cc8ec054b30e60e1a438d4) --- 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