Commit f0b7f5a8 authored by Katsumi Yamaoka's avatar Katsumi Yamaoka

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

*.el: Fix comment for declare-function.
parent 6b7df8d3
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
......
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
......
......@@ -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
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))
......
......@@ -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
......
......@@ -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
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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")
......
......@@ -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")
......
......@@ -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))))
......
......@@ -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))
......
......@@ -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)
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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))))
......
......@@ -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)
......
......@@ -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))))
......
......@@ -48,6 +48,7 @@
;;; Code:
;; For Emacs <22.2 and XEmacs.
(eval-and-compile
(unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
......
......@@ -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")
......
......@@ -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))
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment