Autoload cl-struct-slot-info

* lisp/emacs-lisp/cl-macs.el (cl-struct-slot-info): Autoload
(bug#50301).

* test/lisp/emacs-lisp/memory-report-tests.el: Don't require cl-macs.
This commit is contained in:
Lars Ingebrigtsen 2021-09-05 16:52:11 +02:00
parent 7c7a47b86e
commit c5b654b3f1
2 changed files with 1 additions and 1 deletions

View file

@ -3288,6 +3288,7 @@ STRUCT-TYPE is a symbol naming a struct type. Return `record',
(push (cdr x) res))
(nreverse res)))
;;;###autoload
(defun cl-struct-slot-info (struct-type)
"Return a list of slot names of struct STRUCT-TYPE.
Each entry is a list (SLOT-NAME . OPTS), where SLOT-NAME is a