diff options
| -rw-r--r-- | lisp/emacs-lisp/macroexp.el | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el index 1e4fdd126cb..66c276e7b78 100644 --- a/lisp/emacs-lisp/macroexp.el +++ b/lisp/emacs-lisp/macroexp.el | |||
| @@ -216,10 +216,11 @@ is executed without being compiled first." | |||
| 216 | (let* ((fun (car form)) | 216 | (let* ((fun (car form)) |
| 217 | (obsolete (get fun 'byte-obsolete-info))) | 217 | (obsolete (get fun 'byte-obsolete-info))) |
| 218 | (macroexp-warn-and-return | 218 | (macroexp-warn-and-return |
| 219 | (macroexp--obsolete-warning | 219 | (and (byte-compile-warning-enabled-p 'obsolete fun) |
| 220 | fun obsolete | 220 | (macroexp--obsolete-warning |
| 221 | (if (symbolp (symbol-function fun)) | 221 | fun obsolete |
| 222 | "alias" "macro")) | 222 | (if (symbolp (symbol-function fun)) |
| 223 | "alias" "macro"))) | ||
| 223 | new-form 'obsolete)) | 224 | new-form 'obsolete)) |
| 224 | new-form))) | 225 | new-form))) |
| 225 | 226 | ||