diff options
| author | Stefan Monnier | 2010-02-15 14:55:51 -0500 |
|---|---|---|
| committer | Stefan Monnier | 2010-02-15 14:55:51 -0500 |
| commit | 2b8c974a6f6bcfb9b2df3bcf760127841227ed66 (patch) | |
| tree | f8d0c32eaca4d40178aa72a1f8c33bb7d974d4e5 | |
| parent | 7540f029959d8e67882d1304419171424143e494 (diff) | |
| download | emacs-2b8c974a6f6bcfb9b2df3bcf760127841227ed66.tar.gz emacs-2b8c974a6f6bcfb9b2df3bcf760127841227ed66.zip | |
(ad-compile-function): Suppress byte-compiler warnings, since it is annoying
for the user to see them each time he runs the code.
| -rw-r--r-- | lisp/ChangeLog | 10 | ||||
| -rw-r--r-- | lisp/emacs-lisp/advice.el | 4 |
2 files changed, 11 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 8f1c5574e41..d2cf0e271bf 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2010-02-15 Stefan Monnier <monnier@iro.umontreal.ca> | ||
| 2 | |||
| 3 | * emacs-lisp/advice.el (ad-compile-function): Suppress byte-compiler | ||
| 4 | warnings, since it is annoying for the user to see them each time he | ||
| 5 | runs the code. | ||
| 6 | |||
| 1 | 2010-02-15 Michael Albinus <michael.albinus@gmx.de> | 7 | 2010-02-15 Michael Albinus <michael.albinus@gmx.de> |
| 2 | 8 | ||
| 3 | * net/tramp.el (tramp-process-actions, tramp-read-passwd): | 9 | * net/tramp.el (tramp-process-actions, tramp-read-passwd): |
| @@ -5,8 +11,8 @@ | |||
| 5 | instead of PROC for caching "first-password-request". Otherwise, | 11 | instead of PROC for caching "first-password-request". Otherwise, |
| 6 | new processes would not profit from passwords already entered. | 12 | new processes would not profit from passwords already entered. |
| 7 | 13 | ||
| 8 | * net/tramp-cache.el (tramp-dump-connection-properties): Don't | 14 | * net/tramp-cache.el (tramp-dump-connection-properties): |
| 9 | save "first-password-request" property. | 15 | Don't save "first-password-request" property. |
| 10 | 16 | ||
| 11 | 2010-02-14 Juanma Barranquero <lekktu@gmail.com> | 17 | 2010-02-14 Juanma Barranquero <lekktu@gmail.com> |
| 12 | 18 | ||
diff --git a/lisp/emacs-lisp/advice.el b/lisp/emacs-lisp/advice.el index 003f70ea4a5..c8a7ca6a875 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." | |||
| 2685 | (ad-with-auto-activation-disabled | 2685 | (ad-with-auto-activation-disabled |
| 2686 | (require 'bytecomp) | 2686 | (require 'bytecomp) |
| 2687 | (let ((symbol (make-symbol "advice-compilation")) | 2687 | (let ((symbol (make-symbol "advice-compilation")) |
| 2688 | (byte-compile-warnings byte-compile-warnings)) | 2688 | (byte-compile-warnings byte-compile-warnings) |
| 2689 | ;; Don't pop up windows showing byte-compiler warnings. | ||
| 2690 | (warning-suppress-types '(bytecomp))) | ||
| 2689 | (if (featurep 'cl) | 2691 | (if (featurep 'cl) |
| 2690 | (byte-compile-disable-warning 'cl-functions)) | 2692 | (byte-compile-disable-warning 'cl-functions)) |
| 2691 | (fset symbol (symbol-function function)) | 2693 | (fset symbol (symbol-function function)) |