diff options
author | Jonas Bernoulli <jonas@bernoul.li> | 2021-05-18 15:44:34 +0200 |
---|---|---|
committer | Jonas Bernoulli <jonas@bernoul.li> | 2022-06-26 17:07:04 +0200 |
commit | 4004dde6ea92d9139b67e59c072a9ce52f4ed15c (patch) | |
tree | ef749bc0a3b04ef8b92b9e1a8ab31dba88bdb7d2 /lisp/use-package | |
parent | ffa5f0397af87c7258f58082408281bf3a5a2deb (diff) | |
download | emacs-4004dde6ea92d9139b67e59c072a9ce52f4ed15c.tar.gz emacs-4004dde6ea92d9139b67e59c072a9ce52f4ed15c.tar.bz2 emacs-4004dde6ea92d9139b67e59c072a9ce52f4ed15c.zip |
Avoid positional arguments to define-minor-mode
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.
Diffstat (limited to 'lisp/use-package')
-rw-r--r-- | lisp/use-package/bind-key.el | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/use-package/bind-key.el b/lisp/use-package/bind-key.el index 1d611c2933c..9a2ddcd8437 100644 --- 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' |