summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/macroexp.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2012-09-19 09:09:43 -0700
committerGlenn Morris <rgm@gnu.org>2012-09-19 09:09:43 -0700
commit35f5b19d7aa70f09c85478402ed0f7671882fdc4 (patch)
tree2a7a643b1404e4c1f0a7aad654547aee5de9cebc /lisp/emacs-lisp/macroexp.el
parenta732eace5fed6d1264adf2c70c0b17cef0422698 (diff)
downloademacs-35f5b19d7aa70f09c85478402ed0f7671882fdc4.tar.gz
Partial fix for bug#12371
* emacs-lisp/macroexp.el (byte-compile-warn-obsolete) (byte-compile-log-warning): Autoload.
Diffstat (limited to 'lisp/emacs-lisp/macroexp.el')
-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'.