projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
403f3d2
)
* lisp/emacs-lisp/gv.el (gv-define-setter): Silence compiler warning
author
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 18 Apr 2018 19:56:15 +0000
(15:56 -0400)
committer
Stefan Monnier
<monnier@iro.umontreal.ca>
Wed, 18 Apr 2018 19:56:15 +0000
(15:56 -0400)
Code placed in the `gv-expander` property will presumably only be used
when gv is loaded (bug#14529).
lisp/emacs-lisp/gv.el
patch
|
blob
|
history
diff --git
a/lisp/emacs-lisp/gv.el
b/lisp/emacs-lisp/gv.el
index 01634d84ca5acbc5ca9c67e20f9da7dafd4e5554..6bfc32c835671673d8331942c21f1293c8a1d42a 100644
(file)
--- 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