nnimap.el (gnutls-negotiate): Silence the byte compiler.

*.el: Fix comment for declare-function.
This commit is contained in:
Katsumi Yamaoka 2010-10-11 23:29:33 +00:00
parent 6b7df8d3dd
commit f0b7f5a884
37 changed files with 60 additions and 27 deletions

View file

@ -1,3 +1,8 @@
2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
* mail/hashcash.el, net/imap.el, pgg-parse.el, pgg.el:
Fix comment for declare-function.
2010-10-11 Chong Yidong <cyd@stupidchicken.com>
* custom.el (custom-fix-face-spec): New function; code moved from

View file

@ -1,3 +1,17 @@
2010-10-11 Katsumi Yamaoka <yamaoka@jpl.org>
* lpath.el: Fbind gnutls-negotiate for Emacs 22 and XEmacsen.
* nnimap.el (gnutls-negotiate): Silence the byte compiler.
* gnus-art.el, gnus-cache.el, gnus-fun.el, gnus-group.el,
gnus-picon.el, gnus-spec.el, gnus-sum.el, gnus-util.el, gnus.el,
mail-source.el, message.el, mm-bodies.el, mm-decode.el, mm-extern.el,
mm-util.el, mm-view.el, mml-smime.el, mml.el, mml1991.el, mml2015.el,
nnfolder.el, nnheader.el, nnmail.el, nnmaildir.el, nnrss.el, nntp.el,
rfc1843.el, sieve-manage.el, smime.el, spam.el:
Fix comment for declare-function.
2010-10-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
* nnimap.el (nnimap-request-rename-group): Select group read-only

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -24,7 +24,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -38,7 +38,7 @@
;;
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile (require 'cl))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile

View file

@ -33,7 +33,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile

View file

@ -30,7 +30,7 @@
(eval '(run-hooks 'gnus-load-hook))
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -29,6 +29,7 @@
;;; Code:
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile

View file

@ -24,7 +24,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -24,7 +24,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -24,7 +24,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -22,6 +22,8 @@
;;; Commentary:
;;; Code:
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile (require 'cl))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -23,7 +23,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -26,8 +26,8 @@
;;; Code:
;; For Emacs < 22.2.
(eval-and-compile
;; For Emacs <22.2 and XEmacs.
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
(if (locate-library "password-cache")

View file

@ -28,8 +28,8 @@
;;; Code:
;; For Emacs < 22.2.
(eval-and-compile
;; For Emacs <22.2 and XEmacs.
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
(if (locate-library "password-cache")

View file

@ -29,7 +29,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -27,6 +27,7 @@
;;; Code:
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(eval-when-compile (require 'cl))

View file

@ -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)

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -59,7 +59,7 @@
)
]
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -25,7 +25,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -26,7 +26,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -32,7 +32,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -70,7 +70,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -119,7 +119,7 @@
;;; Code:
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
(require 'dig)

View file

@ -39,7 +39,7 @@
;;{{{ compilation directives and autoloads/requires
;; For Emacs < 22.2.
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -48,6 +48,7 @@
;;; Code:
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))

View file

@ -139,6 +139,7 @@
(eval-when-compile (require 'cl))
(eval-and-compile
;; For Emacs <22.2 and XEmacs.
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
(autoload 'starttls-open-stream "starttls")
(autoload 'starttls-negotiate "starttls")

View file

@ -36,6 +36,7 @@
;;; Code:
(eval-when-compile
;; For Emacs <22.2 and XEmacs.
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
(require 'cl))

View file

@ -36,6 +36,7 @@
;; Don't merge these two `eval-when-compile's.
(eval-when-compile
;; For Emacs <22.2 and XEmacs.
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r)))
(require 'cl))