diff options
author | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-10-11 23:29:33 +0000 |
---|---|---|
committer | Katsumi Yamaoka <yamaoka@jpl.org> | 2010-10-11 23:29:33 +0000 |
commit | f0b7f5a884806112b6a938b9c31607ea005431d3 (patch) | |
tree | 7cc98bd2dcae6099b7fb97a05763dc80199f2804 /lisp/gnus/nnimap.el | |
parent | 6b7df8d3dd960dc4d62ffa4eabcdb37043a1c9e2 (diff) | |
download | emacs-f0b7f5a884806112b6a938b9c31607ea005431d3.tar.gz emacs-f0b7f5a884806112b6a938b9c31607ea005431d3.tar.bz2 emacs-f0b7f5a884806112b6a938b9c31607ea005431d3.zip |
nnimap.el (gnutls-negotiate): Silence the byte compiler.
*.el: Fix comment for declare-function.
Diffstat (limited to 'lisp/gnus/nnimap.el')
-rw-r--r-- | lisp/gnus/nnimap.el | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 4c05fb47a40..b58c7473d51 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el @@ -26,6 +26,10 @@ ;;; Code: +;; For Emacs <22.2 and XEmacs. +(eval-and-compile + (unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))) + (eval-and-compile (require 'nnheader)) @@ -284,6 +288,8 @@ textual parts.") (* 5 60))) (nnimap-send-command "NOOP"))))))) +(declare-function gnutls-negotiate "subr" (fn file &optional arglist fileonly)) + (defun nnimap-open-connection (buffer) (unless nnimap-keepalive-timer (setq nnimap-keepalive-timer (run-at-time (* 60 15) (* 60 15) |