From: Glenn Morris Date: Wed, 19 Sep 2012 16:09:43 +0000 (-0700) Subject: Partial fix for bug#12371 X-Git-Tag: emacs-24.2.90~269^2~27 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=35f5b19d7aa70f09c85478402ed0f7671882fdc4;p=emacs.git Partial fix for bug#12371 * emacs-lisp/macroexp.el (byte-compile-warn-obsolete) (byte-compile-log-warning): Autoload. --- 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'.