diff options
author | Basil L. Contovounesios <contovob@tcd.ie> | 2021-02-24 22:34:06 +0000 |
---|---|---|
committer | Basil L. Contovounesios <contovob@tcd.ie> | 2021-02-24 22:34:06 +0000 |
commit | db09267de338461d7f3dcddba61d1b8904e7259e (patch) | |
tree | 76ed118e77bba363b159ab3b623a4a464fc13a6e /lisp/obsolete/cl.el | |
parent | 2bbc2262cd0c4629ec8fc517e6cc5a387913e8cc (diff) | |
download | emacs-db09267de338461d7f3dcddba61d1b8904e7259e.tar.gz emacs-db09267de338461d7f3dcddba61d1b8904e7259e.tar.bz2 emacs-db09267de338461d7f3dcddba61d1b8904e7259e.zip |
; Fix recent obsoletion warning in cl.el.
Diffstat (limited to 'lisp/obsolete/cl.el')
-rw-r--r-- | lisp/obsolete/cl.el | 2 |
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' \ |