emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Emacs-diffs] master ed29d9f: Add edebug specs for inline.el


From: Stefan Monnier
Subject: Re: [Emacs-diffs] master ed29d9f: Add edebug specs for inline.el
Date: Sat, 13 Jul 2019 18:30:18 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

>     Add edebug specs for inline.el
>
>     * lisp/emacs-lisp/inline.el (inline-quote)
>     (inline-letevals): Add edebug specs (bug#31051).

I don't understand.  Those macros already have edebug specs (in their
`declare` form).

    (defmacro inline-quote (_exp)
      "Similar to backquote, but quotes code and only accepts , and not ,@."
      (declare (debug t))
      (error "inline-quote can only be used within define-inline"))

    (defmacro inline--leteval (_var-exp &rest _body)
      (declare (indent 1) (debug (sexp &rest body)))
      ;; BEWARE: if we're here it's presumably via macro-expansion of
      ;; inline-letevals, so signal the error in terms of the user's code.
      (error "inline-letevals can only be used within define-inline"))

I can't imagine how adding def-edebug-spec before will make any difference.


        Stefan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]