1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 12:40:49 -08:00
emacs/doc
Alan Mackenzie 1d46bca1c9 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
2023-09-02 13:50:03 +00:00
..
emacs Open org-protocol:// links on Android 2023-09-02 10:06:05 +08:00
lispintro ; * doc/lispintro/emacs-lisp-intro.texi (car & cdr): Fix typo. 2023-06-25 08:27:01 +03:00
lispref Output better error messages on certain edebug spec errors 2023-09-02 13:50:03 +00:00
man ; Add 2023 to copyright years. 2023-01-01 05:31:12 -05:00
misc Merge from origin/emacs-29 2023-09-02 04:28:17 -04:00