summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp
diff options
context:
space:
mode:
Diffstat (limited to 'lisp/emacs-lisp')
-rw-r--r--lisp/emacs-lisp/macroexp.el3
1 files changed, 3 insertions, 0 deletions
diff --git a/lisp/emacs-lisp/macroexp.el b/lisp/emacs-lisp/macroexp.el
index 394225d697e..13064800cd5 100644
--- a/lisp/emacs-lisp/macroexp.el
+++ b/lisp/emacs-lisp/macroexp.el
@@ -111,6 +111,9 @@ and also to avoid outputting the warning during normal execution."
(mapc (lambda (x) (funcall (eval x))) (cdr form))
(byte-compile-constant nil)))
+(autoload 'byte-compile-warn-obsolete "bytecomp")
+(autoload 'byte-compile-log-warning "bytecomp")
+
(defun macroexp--expand-all (form)
"Expand all macros in FORM.
This is an internal version of `macroexpand-all'.