From: Lars Ingebrigtsen Date: Thu, 1 Sep 2022 10:24:17 +0000 (+0200) Subject: Fix outline-minor-mode-map X-Git-Tag: emacs-29.0.90~1856^2~806 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=d029ec8d76d0d949bfeacc3364061d879d84ee6e;p=emacs.git 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). --- 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