summaryrefslogtreecommitdiff
path: root/lisp/obsolete/cl.el
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/obsolete/cl.el')
-rw-r--r--lisp/obsolete/cl.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/obsolete/cl.el b/lisp/obsolete/cl.el
index f91cfaa34c3..09f9ab7b7f2 100644
--- a/lisp/obsolete/cl.el
+++ b/lisp/obsolete/cl.el
@@ -438,7 +438,7 @@ definitions, or lack thereof).
(let ((func `(cl-function
(lambda ,(cadr x)
(cl-block ,(car x) ,@(cddr x))))))
- (when (cl--compiling-file)
+ (when (macroexp-compiling-p)
;; Bug#411. It would be nice to fix this.
(and (get (car x) 'byte-compile)
(error "Byte-compiling a redefinition of `%s' \