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:
parent
196ea8c4b3
commit
ed29d9fe52
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue