diff options
| author | Stefan Monnier | 2021-04-12 11:08:19 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2021-04-12 11:08:19 -0400 |
| commit | 6bec60ad3151825c2ee5f775848ea3d4c70c72a5 (patch) | |
| tree | a7bdf8e3c439584e7d4714a9205d77c3a571a302 /src/coding.c | |
| parent | 07671edbf0686a71fe568626a71ef48fdb2e0215 (diff) | |
| download | emacs-6bec60ad3151825c2ee5f775848ea3d4c70c72a5.tar.gz 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 'src/coding.c')
0 files changed, 0 insertions, 0 deletions