summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/advice.el
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2010-02-16 15:51:15 +0900
committerKenichi Handa <handa@m17n.org>2010-02-16 15:51:15 +0900
commita622127f2bb84962ca65daf4dbee25ae723122de (patch)
tree319f0527357561aec14a25e308abbbc99995d1ca /lisp/emacs-lisp/advice.el
parentfa6ea913cb32e92839590f40c696b42a613f47cc (diff)
parentdc4d62739d4f483514c9763edea82e5858fa0460 (diff)
downloademacs-a622127f2bb84962ca65daf4dbee25ae723122de.tar.gz
from trunk
Diffstat (limited to 'lisp/emacs-lisp/advice.el')
-rw-r--r--lisp/emacs-lisp/advice.el4
1 files changed, 3 insertions, 1 deletions
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el
index 003f70ea4a5..17f2ed53ba5 100644
--- a/lisp/emacs-lisp/advice.el
+++ b/lisp/emacs-lisp/advice.el
@@ -2685,7 +2685,9 @@ For that it has to be fbound with a non-autoload definition."
(ad-with-auto-activation-disabled
(require 'bytecomp)
(let ((symbol (make-symbol "advice-compilation"))
- (byte-compile-warnings byte-compile-warnings))
+ (byte-compile-warnings byte-compile-warnings)
+ ;; Don't pop up windows showing byte-compiler warnings.
+ (warning-suppress-types '((bytecomp))))
(if (featurep 'cl)
(byte-compile-disable-warning 'cl-functions))
(fset symbol (symbol-function function))