diff options
| author | Stefan Monnier | 2010-06-08 21:18:31 -0400 |
|---|---|---|
| committer | Stefan Monnier | 2010-06-08 21:18:31 -0400 |
| commit | 989bc97f04f8143a7ab51088f9861da8d5df45f1 (patch) | |
| tree | d30b2aa74ca9a92bf5d1a347fc89ea00aeab0bd9 | |
| parent | 8c6eab5a27df2983c403e6737a4f50d835408d8a (diff) | |
| download | emacs-989bc97f04f8143a7ab51088f9861da8d5df45f1.tar.gz emacs-989bc97f04f8143a7ab51088f9861da8d5df45f1.zip | |
* lisp/emacs-lisp/advice.el (ad-compile-function):
Define warning-suppress-types before we let-bind it.
Fixes: debbugs:6275
| -rw-r--r-- | lisp/ChangeLog | 3 | ||||
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 57115bba400..d193663ed09 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca> | 1 | 2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca> |
| 2 | 2 | ||
| 3 | * emacs-lisp/advice.el (ad-compile-function): | ||
| 4 | Define warning-suppress-types before we let-bind it (bug#6275). | ||
| 5 | |||
| 3 | * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook; | 6 | * vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook; |
| 4 | declare it, make it buffer-local and permanent-local (bug#6324). | 7 | declare it, make it buffer-local and permanent-local (bug#6324). |
| 5 | (vc-resynch-window): Adjust name. | 8 | (vc-resynch-window): Adjust name. |
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 17f2ed53ba5..9267bc8ac91 100644 --- a/lisp/emacs-lisp/advice.el +++ b/lisp/emacs-lisp/advice.el | |||
| @@ -2684,6 +2684,8 @@ For that it has to be fbound with a non-autoload definition." | |||
| 2684 | ;; because `byte-compile' uses `fset': | 2684 | ;; because `byte-compile' uses `fset': |
| 2685 | (ad-with-auto-activation-disabled | 2685 | (ad-with-auto-activation-disabled |
| 2686 | (require 'bytecomp) | 2686 | (require 'bytecomp) |
| 2687 | (require 'warnings) ;To define warning-suppress-types | ||
| 2688 | ;before we let-bind it. | ||
| 2687 | (let ((symbol (make-symbol "advice-compilation")) | 2689 | (let ((symbol (make-symbol "advice-compilation")) |
| 2688 | (byte-compile-warnings byte-compile-warnings) | 2690 | (byte-compile-warnings byte-compile-warnings) |
| 2689 | ;; Don't pop up windows showing byte-compiler warnings. | 2691 | ;; Don't pop up windows showing byte-compiler warnings. |