diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2022-09-01 12:24:17 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2022-09-01 12:24:17 +0200 |
commit | d029ec8d76d0d949bfeacc3364061d879d84ee6e (patch) | |
tree | a7e94c58e6338c70215b16ed45cf2f31b56ee63b /lisp/outline.el | |
parent | f0319cd86f8d147e443bcaa0927937ccf052fbd0 (diff) | |
download | emacs-d029ec8d76d0d949bfeacc3364061d879d84ee6e.tar.gz emacs-d029ec8d76d0d949bfeacc3364061d879d84ee6e.tar.bz2 emacs-d029ec8d76d0d949bfeacc3364061d879d84ee6e.zip |
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).
Diffstat (limited to 'lisp/outline.el')
-rw-r--r-- | lisp/outline.el | 8 |
1 files 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 + "<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 |