Fix compilation warning in cl-lib.el

* lisp/emacs-lisp/cl-lib.el (cl-old-struct-compat-mode): Put the
minor mode in the tools group (to avoid a compilation warning).
This commit is contained in:
Lars Ingebrigtsen 2020-09-12 15:06:58 +02:00
parent 227f93abcc
commit 97e9bddd0f

View file

@ -663,6 +663,7 @@ This can be needed when using code byte-compiled using the old
macro-expansion of `cl-defstruct' that used vectors objects instead
of record objects."
:global t
:group 'tools
(cond
(cl-old-struct-compat-mode
(advice-add 'type-of :around #'cl--old-struct-type-of))