From: Lars Ingebrigtsen Date: Sun, 16 Jun 2019 15:58:31 +0000 (+0200) Subject: Fix compilation warning about gv-setter in cl-generic X-Git-Tag: emacs-27.0.90~2470 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=a1508e8d2db0003fafb53ae51ed1104ba957db6b;p=emacs.git Fix compilation warning about gv-setter in cl-generic * lisp/emacs-lisp/cl-generic.el (gv-setter): Declare to avoid a compilation warning. --- diff --git a/lisp/emacs-lisp/cl-generic.el b/lisp/emacs-lisp/cl-generic.el index f104d80b032..3348080c0be 100644 --- a/lisp/emacs-lisp/cl-generic.el +++ b/lisp/emacs-lisp/cl-generic.el @@ -101,6 +101,8 @@ (eval-when-compile (require 'cl-macs)) ;For cl--find-class. (eval-when-compile (require 'pcase)) +(declare-function gv-setter "gv" (name)) + (cl-defstruct (cl--generic-generalizer (:constructor nil) (:constructor cl-generic-make-generalizer