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:
parent
227f93abcc
commit
97e9bddd0f
1 changed files with 1 additions and 0 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Reference in a new issue