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:
parent
ffa5f0397a
commit
4004dde6ea
1 changed files with 2 additions and 1 deletions
|
@ -131,7 +131,8 @@
|
||||||
|
|
||||||
(define-minor-mode override-global-mode
|
(define-minor-mode override-global-mode
|
||||||
"A minor mode so that keymap settings override other modes."
|
"A minor mode so that keymap settings override other modes."
|
||||||
t "")
|
:global t
|
||||||
|
:lighter "")
|
||||||
|
|
||||||
;; the keymaps in `emulation-mode-map-alists' take precedence over
|
;; the keymaps in `emulation-mode-map-alists' take precedence over
|
||||||
;; `minor-mode-map-alist'
|
;; `minor-mode-map-alist'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue