diff options
author | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-12 15:06:58 +0200 |
---|---|---|
committer | Lars Ingebrigtsen <larsi@gnus.org> | 2020-09-12 15:06:58 +0200 |
commit | 97e9bddd0fc1a4cf83cdb0bfa12997f7e7d52f0d (patch) | |
tree | 39c117d9c57ca322ffe2f2418d06edff2af339b0 /lisp/emacs-lisp/cl-lib.el | |
parent | 227f93abcc8144e47feced18e750f687244abddc (diff) | |
download | emacs-97e9bddd0fc1a4cf83cdb0bfa12997f7e7d52f0d.tar.gz emacs-97e9bddd0fc1a4cf83cdb0bfa12997f7e7d52f0d.tar.bz2 emacs-97e9bddd0fc1a4cf83cdb0bfa12997f7e7d52f0d.zip |
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).
Diffstat (limited to 'lisp/emacs-lisp/cl-lib.el')
-rw-r--r-- | lisp/emacs-lisp/cl-lib.el | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/cl-lib.el b/lisp/emacs-lisp/cl-lib.el index 7a4d3c9c3e3..86ee94e87e0 100644 --- a/lisp/emacs-lisp/cl-lib.el +++ b/lisp/emacs-lisp/cl-lib.el @@ -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)) |