From d029ec8d76d0d949bfeacc3364061d879d84ee6e Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Thu, 1 Sep 2022 12:24:17 +0200 Subject: [PATCH] Fix outline-minor-mode-map * lisp/outline.el (outline-minor-mode): Avoid using easy-mmode-define-keymap, since it doesn't handle :inherit correctly (bug#57512). --- lisp/outline.el | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lisp/outline.el b/lisp/outline.el index 857ac9562fd..2e18fd5b8fe 100644 --- a/lisp/outline.el +++ b/lisp/outline.el @@ -444,10 +444,10 @@ outline font-lock faces to those of major mode." See the command `outline-mode' for more information on this mode." :lighter " Outl" - :keymap (easy-mmode-define-keymap - `(([menu-bar] . ,outline-minor-mode-menu-bar-map) - (,outline-minor-mode-prefix . ,outline-mode-prefix-map)) - :inherit outline-minor-mode-cycle-map) + :keymap (define-keymap + :parent outline-minor-mode-cycle-map + "" outline-minor-mode-menu-bar-map + (key-description outline-minor-mode-prefix) outline-mode-prefix-map) (if outline-minor-mode (progn (when outline-minor-mode-highlight -- 2.39.5