summaryrefslogtreecommitdiff
path: root/lisp/custom.el
diff options
context:
space:
mode:
authorStefan Monnier <monnier@iro.umontreal.ca>2012-05-02 22:39:23 -0400
committerStefan Monnier <monnier@iro.umontreal.ca>2012-05-02 22:39:23 -0400
commit2bd785a208c84e7ae73884d09a1087da52780b4a (patch)
tree7f8c92f65123ad473b5ba0d761373d2352f04760 /lisp/custom.el
parent7ed806a75c15de00d60ef37f347b5800370fb77c (diff)
downloademacs-2bd785a208c84e7ae73884d09a1087da52780b4a.tar.gz
* lisp/emacs-lisp/bytecomp.el
(byte-compile-file-form-custom-declare-variable): Compile all elements, since cconv.el might have introduced :fun-body, internal-make-closure, and friends for bytecomp to handle. * lisp/custom.el (defcustom): Avoid ((λ ..) ..). Fixes: debbugs:11391
Diffstat (limited to 'lisp/custom.el')
-rw-r--r--lisp/custom.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/custom.el b/lisp/custom.el
index 611d5688f30..d0eadcc23ff 100644
--- a/lisp/custom.el
+++ b/lisp/custom.el
@@ -335,7 +335,7 @@ for more information."
;; expression is checked by the byte-compiler, and that
;; lexical-binding is obeyed, so quote the expression with
;; `lambda' rather than with `quote'.
- `(list (lambda () ,standard))
+ ``(funcall #',(lambda () ,standard))
`',standard)
,doc
,@args))