diff options
author | Glenn Morris <rgm@gnu.org> | 2013-05-22 22:05:27 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2013-05-22 22:05:27 -0700 |
commit | c7641e3c89bbd310dea7d81da8599823b821057e (patch) | |
tree | 2a695822dd6d4d3ccce790dcddad3c13cdfed05f /lisp/gnus/mm-util.el | |
parent | e2aec513de00c1bf420d0258c708ba25a9ab3eda (diff) | |
download | emacs-c7641e3c89bbd310dea7d81da8599823b821057e.tar.gz |
Silence some gnus compilation warnings
* gnus/mm-decode.el: No need to load term when compiling.
(term-mode, term-char-mode): Declare.
* gnus/mm-util.el: No need to load jka-compr when compiling.
(jka-compr-acceptable-retval-list, jka-compr-make-temp-name): Declare.
* gnus/nnmaildir.el: Require is automatically eval-and-compile.
(nnmail): Require at run-time too.
* gnus/registry.el (registry-size): Move definition before use.
Diffstat (limited to 'lisp/gnus/mm-util.el')
-rw-r--r-- | lisp/gnus/mm-util.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/gnus/mm-util.el b/lisp/gnus/mm-util.el index a49d308b67c..209c2949ea9 100644 --- a/lisp/gnus/mm-util.el +++ b/lisp/gnus/mm-util.el @@ -1508,8 +1508,8 @@ To make this function work with XEmacs, the APEL package is required." (fboundp 'coding-system-to-mime-charset))) (coding-system-to-mime-charset coding-system))))) -(eval-when-compile - (require 'jka-compr)) +(defvar jka-compr-acceptable-retval-list) +(declare-function jka-compr-make-temp-name "jka-compr" (&optional local)) (defun mm-decompress-buffer (filename &optional inplace force) "Decompress buffer's contents, depending on jka-compr. |