1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-15 10:30:25 -08:00

Make sure that bind-key's override-global-mode is initially on

In 4004dde the arguments to `define-minor-mode` were changed
erroneously. Whereas the `override-global-mode` was initially defined
as `(define-minor-mode override-global-mode "..." t "")`, the two
latter arguments where changed to `:global t :lighter ""`. However,
the two original arguments corresponded to the keywords `:init-value`
and `:lighter`, respectively.

With `:init-value t` now missing, the minor mode isn't enabled by
default, and `bind-key*` appears not to work.

Copyright-paperwork-exempt: yes
This commit is contained in:
Koen van Greevenbroek 2022-08-10 10:59:44 +02:00 committed by realcomplex
parent 3dd5bee4aa
commit 85c1287c26

View file

@ -131,6 +131,7 @@
(define-minor-mode override-global-mode
"A minor mode so that keymap settings override other modes."
:init-value t
:global t
:lighter "")