diff options
author | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-02-10 12:36:36 -0500 |
---|---|---|
committer | Stefan Monnier <monnier@iro.umontreal.ca> | 2021-02-10 12:36:36 -0500 |
commit | d6eddf2c079280e5ceea8c5251613ba801f3e54d (patch) | |
tree | db67330fa5cfdb4170062d90d05f8babce24ab0f /lisp/emacs-lisp/eieio.el | |
parent | 9b0d76e93b1e72425f8ee67de5eea74520beb5dd (diff) | |
download | emacs-d6eddf2c079280e5ceea8c5251613ba801f3e54d.tar.gz emacs-d6eddf2c079280e5ceea8c5251613ba801f3e54d.tar.bz2 emacs-d6eddf2c079280e5ceea8c5251613ba801f3e54d.zip |
* list/emacs-lisp/edebug.el: Don't overload `edebug-form-spec`
The `edebug-form-spec` symbol property was used to store two different things:
the handlers for spec elements like `body` and the handlers for
spec operators like `&or`. But these two sets use different calling
conventions, so they're fundamentally incompatible.
So, move the handlers to spec operators to the new property
`edebug--spec-op-function`. This unbreaks Edebugging of:
(cl-flet ((f (&rest x) x)) 3)
* lisp/emacs-lisp/edebug.el <toplevel>: Split the alist of built in
spec elements into normal spec element and spec ops.
(edebug--get-spec-op): New function.
(edebug-match-specs): Use it.
(edebug-match-:name): Rename from `edebug-match-colon-name`.
Diffstat (limited to 'lisp/emacs-lisp/eieio.el')
0 files changed, 0 insertions, 0 deletions