]> git.eshelyaron.com Git - emacs.git/commitdiff
Make sure that bind-key's `override-global-mode` is initially on
authorKoen van Greevenbroek <koen@localhost.com>
Wed, 10 Aug 2022 08:59:44 +0000 (10:59 +0200)
committerrealcomplex <koenvg@posteo.net>
Wed, 10 Aug 2022 09:47:07 +0000 (11:47 +0200)
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

lisp/use-package/bind-key.el

index bf5785ff5b45a16718915f1d961c1e8d2b9243b5..14784b09a159985580dbfa11dd8fe40b2c91e23e 100644 (file)
 
 (define-minor-mode override-global-mode
   "A minor mode so that keymap settings override other modes."
+  :init-value t
   :global t
   :lighter "")