From 5d33f815422e8203297779c6ebedfff922e4ffc7 Mon Sep 17 00:00:00 2001 From: Stefan Monnier Date: Mon, 14 Mar 2022 09:28:18 -0400 Subject: [PATCH] * lisp/emacs-lisp/cl-macs.el (cl-defstruct): Simplify Edebug spec --- lisp/emacs-lisp/cl-macs.el | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el index 9fd3350ddd7..0d0b5b51587 100644 --- a/lisp/emacs-lisp/cl-macs.el +++ b/lisp/emacs-lisp/cl-macs.el @@ -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)))) -- 2.39.5