summaryrefslogtreecommitdiff
path: root/lisp/use-package/bind-key.el
diff options
context:
space:
mode:
authorKoen van Greevenbroek <koen@localhost.com>2022-08-10 10:59:44 +0200
committerrealcomplex <koenvg@posteo.net>2022-08-10 11:47:07 +0200
commit85c1287c260bcf18b54c388a64da20188ab13eec (patch)
tree8bf2315df34aeaa1ffc7627e22f83efb810729ea /lisp/use-package/bind-key.el
parent3dd5bee4aacf048c28c8d4cdb6b2a27ff5c4b79b (diff)
downloademacs-85c1287c260bcf18b54c388a64da20188ab13eec.tar.gz
emacs-85c1287c260bcf18b54c388a64da20188ab13eec.tar.bz2
emacs-85c1287c260bcf18b54c388a64da20188ab13eec.zip
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
Diffstat (limited to 'lisp/use-package/bind-key.el')
-rw-r--r--lisp/use-package/bind-key.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el
index bf5785ff5b4..14784b09a15 100644
--- a/lisp/use-package/bind-key.el
+++ b/lisp/use-package/bind-key.el
@@ -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 "")