]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix compilation warning about gv-setter in cl-generic
authorLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Jun 2019 15:58:31 +0000 (17:58 +0200)
committerLars Ingebrigtsen <larsi@gnus.org>
Sun, 16 Jun 2019 15:58:35 +0000 (17:58 +0200)
* lisp/emacs-lisp/cl-generic.el (gv-setter): Declare to avoid a
compilation warning.

lisp/emacs-lisp/cl-generic.el

index f104d80b032fc2f8eb79414fdc4f8f6ff4b0e62c..3348080c0be671c5c60ee14cb6d6c61b1dfca1da 100644 (file)
 (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