]> git.eshelyaron.com Git - emacs.git/commitdiff
* lisp/emacs-lisp/cl-macs.el (cl-defstruct): Simplify Edebug spec
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 14 Mar 2022 13:28:18 +0000 (09:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 14 Mar 2022 13:28:18 +0000 (09:28 -0400)
lisp/emacs-lisp/cl-macs.el

index 9fd3350ddd77d345bf2abb07dabbb3d145ac19f9..0d0b5b515874278e9139893c07b6c3c2ee4c6fbb 100644 (file)
@@ -2901,19 +2901,10 @@ To see the documentation for a defined struct type, use
            (debug
             (&define                    ;Makes top-level form not be wrapped.
              [&or symbolp
-                  (gate
+                  (gate ;; FIXME: Why?
                    symbolp &rest
-                   [&or symbolp
-                        (&or [":conc-name" symbolp]
-                             [":constructor" symbolp &optional cl-lambda-list]
-                             [":copier" symbolp]
-                             [":predicate" symbolp]
-                             [":include" symbolp &rest sexp] ;; Not finished.
-                             [":print-function" sexp]
-                             [":type" symbolp]
-                             [":noinline" &optional sexp]
-                             [":named" &optional sexp]
-                             [":initial-offset" natnump])])]
+                   [&or (":constructor" &define name &optional cl-lambda-list)
+                        sexp])]
              [&optional stringp]
              ;; All the above is for the following def-form.
              &rest &or symbolp (symbolp &optional def-form &rest sexp))))