purcell / emacs.d

An Emacs configuration bundle with batteries included
BSD 2-Clause "Simplified" License
6.84k stars 2.05k forks source link

Use keywords rather than positional arguments to define-minor-mode #780

Closed Eason0210 closed 3 years ago

Eason0210 commented 3 years ago

Hi @purcell ,

In Emacs 28, there was always warning massages on startup as below:

.emacs.d/lisp/init-javascript.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
.emacs.d/lisp/init-org.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
.emacs.d/lisp/init-haskell.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'
.emacs.d/lisp/init-purescript.el: Warning: Use keywords rather than deprecated positional arguments to `define-minor-mode'