[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] master 53c29c4: * lisp/emacs-lisp/gv.el (gv-define-setter)
From: |
Stefan Monnier |
Subject: |
[Emacs-diffs] master 53c29c4: * lisp/emacs-lisp/gv.el (gv-define-setter): Silence compiler warning |
Date: |
Wed, 18 Apr 2018 15:56:20 -0400 (EDT) |
branch: master
commit 53c29c4d3c636c7f02b563b3c683b13ae5863bcf
Author: Stefan Monnier <address@hidden>
Commit: Stefan Monnier <address@hidden>
* lisp/emacs-lisp/gv.el (gv-define-setter): Silence compiler warning
Code placed in the `gv-expander` property will presumably only be used
when gv is loaded (bug#14529).
---
lisp/emacs-lisp/gv.el | 2 ++
1 file changed, 2 insertions(+)
diff --git a/lisp/emacs-lisp/gv.el b/lisp/emacs-lisp/gv.el
index 01634d8..6bfc32c 100644
--- a/lisp/emacs-lisp/gv.el
+++ b/lisp/emacs-lisp/gv.el
@@ -217,6 +217,8 @@ to be pure and copyable. Example use:
(declare (indent 2) (debug (&define name sexp body)))
`(gv-define-expander ,name
(lambda (do &rest args)
+ (declare-function
+ gv--defsetter "gv" (name setter do args &optional vars))
(gv--defsetter ',name (lambda ,arglist ,@body) do args))))
;;;###autoload
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] master 53c29c4: * lisp/emacs-lisp/gv.el (gv-define-setter): Silence compiler warning,
Stefan Monnier <=