From a1508e8d2db0003fafb53ae51ed1104ba957db6b Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sun, 16 Jun 2019 17:58:31 +0200 Subject: [PATCH] Fix compilation warning about gv-setter in cl-generic * lisp/emacs-lisp/cl-generic.el (gv-setter): Declare to avoid a compilation warning. --- lisp/emacs-lisp/cl-generic.el | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.39.2