Closed tarsius closed 2 years ago
Friendly ping. (This is quite a trivial change.)
I tried this PR and it removed the following warnings from my warnings buffer:
5 matches for "positional" in buffer: *Warnings*
17:Warning (comp): bind-key.el:132:20: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
33:Warning (comp): pcre2el.el:719:3: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
35:Warning (comp): pcre2el.el:1249:20: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
76:Warning (comp): tablist.el:304:22: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
77:Warning (comp): tablist.el:997:5: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode' Disable showing Disable logging
Please consider merging this!
Another friendly ping!
Sorry @tarsius, wasn't paying enough attention to the queue of pull requests.
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.