summaryrefslogtreecommitdiff
path: root/lisp/gnus/mm-util.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-05-22 22:05:27 -0700
committerGlenn Morris <rgm@gnu.org>2013-05-22 22:05:27 -0700
commitc7641e3c89bbd310dea7d81da8599823b821057e (patch)
tree2a695822dd6d4d3ccce790dcddad3c13cdfed05f /lisp/gnus/mm-util.el
parente2aec513de00c1bf420d0258c708ba25a9ab3eda (diff)
downloademacs-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.el4
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.