Commit 989bc97f authored by Stefan Monnier's avatar Stefan Monnier

* lisp/emacs-lisp/advice.el (ad-compile-function):

Define warning-suppress-types before we let-bind it.

Fixes: debbugs:6275
parent 8c6eab5a
2010-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
* emacs-lisp/advice.el (ad-compile-function):
Define warning-suppress-types before we let-bind it (bug#6275).
* vc-dispatcher.el: Rename mode-line-hook to vc-mode-line-hook;
declare it, make it buffer-local and permanent-local (bug#6324).
(vc-resynch-window): Adjust name.
......
......@@ -2684,6 +2684,8 @@ For that it has to be fbound with a non-autoload definition."
;; because `byte-compile' uses `fset':
(ad-with-auto-activation-disabled
(require 'bytecomp)
(require 'warnings) ;To define warning-suppress-types
;before we let-bind it.
(let ((symbol (make-symbol "advice-compilation"))
(byte-compile-warnings byte-compile-warnings)
;; Don't pop up windows showing byte-compiler warnings.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment