]> git.eshelyaron.com Git - emacs.git/commitdiff
Add an edebug spec for macroexp--with-extended-form-stack
authorAlan Mackenzie <acm@muc.de>
Thu, 10 Oct 2024 16:39:54 +0000 (16:39 +0000)
committerEshel Yaron <me@eshelyaron.com>
Mon, 14 Oct 2024 17:38:11 +0000 (19:38 +0200)
* lisp/emacs-lisp/macroexp.el
  (macroexp--with-extended-form-stack): Add the edebug spec
  (sexp body).

(cherry picked from commit 42393b9883777732fd29ed4b43110a1e89bba3a2)

lisp/emacs-lisp/macroexp.el

index 3b0b3093781702d80e1767fe4624743800d3bac6..fbfcde587694bdf391ec1c9ea7d7b473a376e91f 100644 (file)
@@ -41,7 +41,8 @@ This is to preserve the data in it in the event of a
 
 (defmacro macroexp--with-extended-form-stack (expr &rest body)
   "Evaluate BODY with EXPR pushed onto `byte-compile-form-stack'."
-  (declare (indent 1))
+  (declare (indent 1)
+           (debug (sexp body)))
   `(let ((byte-compile-form-stack (cons ,expr byte-compile-form-stack)))
      ,@body))