diff options
| author | Stefan Monnier | 2024-04-16 21:17:47 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2024-04-16 21:17:47 -0400 |
| commit | 484b0979099d91e286c248e32b2f693111fac2ad (patch) | |
| tree | e49d353db50f7e0b1aad43c0cce686e7dd0212db /java/org/gnu | |
| parent | 2141caca30860ee04cad44ae2ad32744c1c11987 (diff) | |
| download | emacs-484b0979099d91e286c248e32b2f693111fac2ad.tar.gz emacs-484b0979099d91e286c248e32b2f693111fac2ad.zip | |
(cl-defstruct): Improve handling of unknown options
Until now `cl-defstruct` signaled an error when encountering an
unknown option. It's easy to code and it does the job, but it
doesn't give good location info in the compiler's output,
and it makes it more painful to use not-yet-supported options.
So just signal a warning instead.
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Warn about unknown
options, instead of signaling an error.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions