summaryrefslogtreecommitdiff
path: root/lisp/strokes.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2021-04-12 11:08:19 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2021-04-12 11:08:19 -0400
commit6bec60ad3151825c2ee5f775848ea3d4c70c72a5 (patch)
treea7bdf8e3c439584e7d4714a9205d77c3a571a302 /lisp/strokes.el
parent07671edbf0686a71fe568626a71ef48fdb2e0215 (diff)
downloademacs-6bec60ad3151825c2ee5f775848ea3d4c70c72a5.tar.gz
emacs-6bec60ad3151825c2ee5f775848ea3d4c70c72a5.tar.bz2
emacs-6bec60ad3151825c2ee5f775848ea3d4c70c72a5.zip
(define-minor-mode): Warn about use of pre-Emacs-21 style args
* lisp/emacs-lisp/easy-mmode.el (define-minor-mode): Use `advertised-calling-convention` to avoid promoting the old style arguments. Emit a wanring when old-style arguments are used. Massage the docstring accordingly. * doc/lispref/modes.texi (Defining Minor Modes): Document the keyword arguments rather than the old-style positional arguments.
Diffstat (limited to 'lisp/strokes.el')
0 files changed, 0 insertions, 0 deletions