* lisp/outline.el (outline-minor-mode): Avoid using
easy-mmode-define-keymap, since it doesn't handle :inherit
correctly (bug#57512).
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
+ "<menu-bar>" 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