Add edebug specs for inline.el

* lisp/emacs-lisp/inline.el (inline-quote)
(inline-letevals): Add edebug specs (bug#31051).
This commit is contained in:
Lars Ingebrigtsen 2019-07-13 18:07:11 +02:00
parent 196ea8c4b3
commit ed29d9fe52

View file

@ -69,6 +69,7 @@
(require 'macroexp)
(def-edebug-spec inline-quote (backquote-form))
(defmacro inline-quote (_exp)
"Similar to backquote, but quotes code and only accepts , and not ,@."
(declare (debug t))
@ -100,6 +101,7 @@
;; inline-letevals, so signal the error in terms of the user's code.
(error "inline-letevals can only be used within define-inline"))
(def-edebug-spec inline-letevals '(sexp body))
(defmacro inline-letevals (vars &rest body)
"Make sure the expressions in VARS are evaluated.
VARS should be a list of elements of the form (VAR EXP) or just VAR, in case