projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffa5f03
)
Avoid positional arguments to define-minor-mode
author
Jonas Bernoulli
<jonas@bernoul.li>
Tue, 18 May 2021 13:44:34 +0000
(15:44 +0200)
committer
Jonas Bernoulli
<jonas@bernoul.li>
Sun, 26 Jun 2022 15:07:04 +0000
(17:07 +0200)
Back in Emacs-21.1, `define-minor-mode' grew keyword arguments to
replace its old positional arguments. Starting with Emacs-28.1
a warning will be omitted if positional arguments are still used.
lisp/use-package/bind-key.el
patch
|
blob
|
history
diff --git
a/lisp/use-package/bind-key.el
b/lisp/use-package/bind-key.el
index 1d611c2933cb55589e69c8b00ddee2da37771c79..9a2ddcd8437f5ddea65d9ad368d85a318a2cd846 100644
(file)
--- a/
lisp/use-package/bind-key.el
+++ b/
lisp/use-package/bind-key.el
@@
-131,7
+131,8
@@
(define-minor-mode override-global-mode
"A minor mode so that keymap settings override other modes."
- t "")
+ :global t
+ :lighter "")
;; the keymaps in `emulation-mode-map-alists' take precedence over
;; `minor-mode-map-alist'