From 35f5b19d7aa70f09c85478402ed0f7671882fdc4 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 19 Sep 2012 09:09:43 -0700 Subject: [PATCH] Partial fix for bug#12371 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete) (byte-compile-log-warning): Autoload. --- lisp/ChangeLog | 3 +++ lisp/emacs-lisp/macroexp.el | 3 +++ 2 files changed, 6 insertions(+) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 93b25f21dc1..12356141e79 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,8 @@ 2012-09-19 Glenn Morris + * emacs-lisp/macroexp.el (byte-compile-warn-obsolete) + (byte-compile-log-warning): Autoload. (Bug#12371) + * calendar/calendar.el (calendar-american-month-header) (calendar-european-month-header, calendar-iso-month-header) (calendar-month-header): New options. 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'. -- 2.39.2