Commit 2a64981
authored
Avoid positional arguments to define-minor-mode (#105)
Back in Emacs-21.1, `define-minor-mode' grew keyword arguments to
replace its old positional arguments. Starting with Emacs-28.1
warning will be omitted if positional arguments are still used.
Using nil as explicit dummy values for the optional arguments and
then subsequently using the corresponding keyword arguments to set
the proper was never necessary and also didn't make much sense.1 parent 4cfb46d commit 2a64981
1 file changed
+1
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
563 | 563 | | |
564 | 564 | | |
565 | 565 | | |
566 | | - | |
567 | 566 | | |
568 | 567 | | |
569 | 568 | | |
| |||
866 | 865 | | |
867 | 866 | | |
868 | 867 | | |
869 | | - | |
| 868 | + | |
870 | 869 | | |
871 | 870 | | |
872 | 871 | | |
| |||
1292 | 1291 | | |
1293 | 1292 | | |
1294 | 1293 | | |
1295 | | - | |
1296 | 1294 | | |
1297 | 1295 | | |
1298 | 1296 | | |
| |||
0 commit comments