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.
This commit is contained in:
Jonas Bernoulli 2021-05-18 15:44:34 +02:00
parent ffa5f0397a
commit 4004dde6ea

View file

@ -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'