summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/cl-macs.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2013-08-12 22:30:52 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2013-08-12 22:30:52 -0400
commit5514cc4c84969122668c89a387b858157e0c2e74 (patch)
treeb636e0c6cff2ce0b37b5c6b48c2a191fa8838d20 /lisp/emacs-lisp/cl-macs.el
parent5c41e9ffeaefbf8d01360c1fc911a324940573ee (diff)
downloademacs-5514cc4c84969122668c89a387b858157e0c2e74.tar.gz
emacs-5514cc4c84969122668c89a387b858157e0c2e74.tar.bz2
emacs-5514cc4c84969122668c89a387b858157e0c2e74.zip
* lisp/emacs-lisp/timer.el (timer--time-setter): New function.
(timer--time): Use it as gv-setter. * lisp/emacs-lisp/gv.el (gv-define-simple-setter): Output warning when setter is not a symbol.
Diffstat (limited to 'lisp/emacs-lisp/cl-macs.el')
-rw-r--r--lisp/emacs-lisp/cl-macs.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/cl-macs.el b/lisp/emacs-lisp/cl-macs.el
index c47c9b61030..d9d6658811f 100644
--- a/lisp/emacs-lisp/cl-macs.el
+++ b/lisp/emacs-lisp/cl-macs.el
@@ -616,7 +616,7 @@ The result of the body appears to the compiler as a quoted constant."
(declare (debug (form &optional sexp)))
(if (cl--compiling-file)
(let* ((temp (cl-gentemp "--cl-load-time--"))
- (set `(set ',temp ,form)))
+ (set `(setq ,temp ,form)))
(if (and (fboundp 'byte-compile-file-form-defmumble)
(boundp 'this-kind) (boundp 'that-one))
(fset 'byte-compile-file-form