summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/byte-opt.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/byte-opt.el b/lisp/emacs-lisp/byte-opt.el
index 940b4869f51..1cda03ad0d5 100644
--- a/lisp/emacs-lisp/byte-opt.el
+++ b/lisp/emacs-lisp/byte-opt.el
@@ -1135,7 +1135,7 @@ of FORM by signaling the error at compile-time."
(setq constant nil))
(setq args (cdr args)))
(if constant
- (eval form)
+ (cons 'quote (eval form))
form)))
;; Avoid having to write forward-... with a negative arg for speed.