diff options
author | Alan Mackenzie <acm@muc.de> | 2023-09-02 13:50:03 +0000 |
---|---|---|
committer | Alan Mackenzie <acm@muc.de> | 2023-09-02 13:50:03 +0000 |
commit | 1d46bca1c976b07ea99c1353a40b352e54d87364 (patch) | |
tree | 5d12346fc8ae42662bb04369ed1a820a898d37ca /lisp/emacs-lisp/cl-generic.el | |
parent | 338be4ff7d0a4fd7ad293385be45d9fffd662188 (diff) | |
download | emacs-1d46bca1c976b07ea99c1353a40b352e54d87364.tar.gz emacs-1d46bca1c976b07ea99c1353a40b352e54d87364.tar.bz2 emacs-1d46bca1c976b07ea99c1353a40b352e54d87364.zip |
Output better error messages on certain edebug spec errors
This fixes bug#65620. The error thrown up to now was "Void
function edebug-after". This has been replaced by "Invalid
call to `edebug-before'. Is the edebug spec for `foo'
correct?".
* lisp/emacs-lisp/edebug.el (edebug-b/a-error): New function
which throws the new friendlier error message.
(edebug-before, edebug-after): Replace the defalias's to nil
with actual functions which just call edebug-b/a-error.
* doc/lispref/edebug.texi (Specification List): In the entry
for `sexp', warn against mistakenly using `form' for an
Diffstat (limited to 'lisp/emacs-lisp/cl-generic.el')
0 files changed, 0 insertions, 0 deletions