1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-11-21 06:55:39 +00:00

Remove Emacs 24.4 compat code from which-key

* lisp/which-key.el (which-key--show-page): Remove Emacs 24.4
compatibility code.
This commit is contained in:
Stefan Kangas 2024-11-03 04:14:56 +01:00
parent d245fb3964
commit 2a41f4ae76

View File

@ -2346,10 +2346,7 @@ enough space based on your settings and frame size." prefix-keys)
(when (cdr page-echo) (funcall (cdr page-echo))) (when (cdr page-echo) (funcall (cdr page-echo)))
(which-key--show-popup (cons height width))))) (which-key--show-popup (cons height width)))))
;; used for paging at top-level ;; used for paging at top-level
(if (fboundp 'set-transient-map) (set-transient-map (which-key--get-popup-map))))
(set-transient-map (which-key--get-popup-map))
(with-no-warnings
(set-temporary-overlay-map (which-key--get-popup-map))))))
;;; Paging functions ;;; Paging functions