]> code.delx.au - gnu-emacs/commitdiff
nnimap.el (gnutls-negotiate): Silence the byte compiler.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 11 Oct 2010 23:29:33 +0000 (23:29 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Mon, 11 Oct 2010 23:29:33 +0000 (23:29 +0000)
*.el: Fix comment for declare-function.

37 files changed:
lisp/ChangeLog
lisp/gnus/ChangeLog
lisp/gnus/gnus-art.el
lisp/gnus/gnus-cache.el
lisp/gnus/gnus-fun.el
lisp/gnus/gnus-group.el
lisp/gnus/gnus-picon.el
lisp/gnus/gnus-spec.el
lisp/gnus/gnus-sum.el
lisp/gnus/gnus-util.el
lisp/gnus/gnus.el
lisp/gnus/mail-source.el
lisp/gnus/message.el
lisp/gnus/mm-bodies.el
lisp/gnus/mm-decode.el
lisp/gnus/mm-extern.el
lisp/gnus/mm-util.el
lisp/gnus/mm-view.el
lisp/gnus/mml-smime.el
lisp/gnus/mml.el
lisp/gnus/mml1991.el
lisp/gnus/mml2015.el
lisp/gnus/nnfolder.el
lisp/gnus/nnheader.el
lisp/gnus/nnimap.el
lisp/gnus/nnmail.el
lisp/gnus/nnmaildir.el
lisp/gnus/nnrss.el
lisp/gnus/nntp.el
lisp/gnus/rfc1843.el
lisp/gnus/sieve-manage.el
lisp/gnus/smime.el
lisp/gnus/spam.el
lisp/mail/hashcash.el
lisp/net/imap.el
lisp/pgg-parse.el
lisp/pgg.el

index a4a9ab216a97ec9ba54b6ca691ac48a87a55b50b..6136b3ab2eadd8fd54738737c01c248f5f6e9e38 100644 (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
index b95fe32431a7c8f5ff0af3e19743398d53ca069e..a58b2460b21690bf8045ce69762dd634decb93a2 100644 (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
index 01cbda85fd37377eb09109b198bbaa8de71d7026..f84b134163c1c1a36a7d00ff943f0afbd1040e00 100644 (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
index 550614f9352ff137adc776890ada51493389dbe3..822996069ccc7a1a64774208c58172847d5818f9 100644 (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))))
 
index bc1ebd4a85ff543a6b3ba76278d999f504969d46..0f28bf5e5eaea9c94189f18a9d420140035c8a03 100644 (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))))
 
index b92b608e5dbae7aec7a33ac460b6f05871de545b..8c5d6e55f6c7ac1e00b28ce6598c1e8e00e23997 100644 (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))))
 
index 3cc7c3701c59615a1eb3e4a97c70a28620d04788..d24f04e0215036fb722588849411f80454dfd955 100644 (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))))
 
index 91a1784ca20350367abd6067ba70e9753123d4d0..b354793b056b28fa2f6d61030ee20c8e9ae84883 100644 (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))
index 1a8d4549b267b5e1f457506640ddd0a5e000406f..29bf4c499388c4c94745e7f9363fe3a0bc3f340d 100644 (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
index 503ec47e39c9fab65f6f85ec62fc43b37281d7df..5326b938cf4469dc346eeef668d85e5e4702c8c2 100644 (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
index d4bbfe129c453383594d35ed167ed0b526f35b27..c944f4a307d72f5ae2f9937c95342e48e08485dc 100644 (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))))
 
index 80a1d8846d95326189b894e137abed2824eef088..1bd5be740137d1fb8a42a9494aa0637513c82fb2 100644 (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))))
 
index d50e037ee00e82876a573c80e07ec7030db8dc6c..c9ddba428966a379013f5bc641425898990bffe8 100644 (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
index 5756e46b86518345945a162eb83491ddb3c850f5..5a70f33d95fa94c218dacad18ac0c0f7da534a56 100644 (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))))
 
index 07249bf07275959af53a9a2e9444c7b80f847db4..8be4bb7047c6a3e7055c3284b642ee72275aa939 100644 (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))))
 
index eee741f7f69e1938c6f30ecf3c167520998f93a4..8363fe07c73f7ca8e49a0fdc0f04092c6f2d6768 100644 (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))))
 
index 65543d11bb55024c4beb98f8ffab72dd98c55e2b..b16e1d9556b36a0a23dba9cecec653a7d64ae500 100644 (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))))
 
index 82be361fce8e422b91deeeb18897eac8c67a2ee5..11e475d21ec05a9eb3e108be15b7e87363ec9776 100644 (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))
index 188717e5921c7075c99ff2a8d5cb2696df37d212..33050fecaeee153c49b4f27a0a0fd422e0ea07cc 100644 (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))))
 
index 3cf0f3701fd68b0774cd44a99f19884edb30cda2..43e86cb6c34b1d2686071b523d3f6e09e0c8825c 100644 (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))))
 
index 22eb7b6682953803df97377e3a70078057c94fe7..98e7903b0157cc9e6f14e7cee45f1fe19ff9f88a 100644 (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")
index 675cafe3ac125a1326d9cb25d007b1ea317b561c..55ebf8cbf0da401b06f5b478a83d92149f99dd87 100644 (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")
index c3d0d1cdb91abb20c04a555eaf5cb8ae460fe806..668b75a78380e6db46daf3553a59d105dfe306dc 100644 (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))))
 
index b97fe5f8079d50b81e24002db86d36592798d2f5..4bf4588687eb472739d1af67551b409d2568c6be 100644 (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))
index 4c05fb47a40bd349cf0e0a876bd35946bee9c4ae..b58c7473d5174cd302e668616133d33fa16fcdf9 100644 (file)
 
 ;;; 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)
index 01cab6febe3b0ce09357a1d8988b9764d2c49cc5..8ccd7b02a16ff3e084f2fb71ce439b89ae523697 100644 (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))))
 
index 8a018dc6acabf318e004b1e0f405c487a21cdb2c..97531f876664f26dc19d4f1bdc47169018698ee7 100644 (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))))
 
index 743fba53e52d4aa482e3c52741b488334b8ff8ad..ebe8c514cb3609f223c6fa898e473502dc8b47e1 100644 (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))))
 
index ced15a92838d5590df5da7dd0367a0a78ed7e67f..946025a0af2d62d739307228d19070b5998202c7 100644 (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))))
 
index e395ee54c3cbc2571f1d585fcf805177ee1a873e..87fcde6013877e4b39ea4868408d68686d31cd64 100644 (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))))
 
index 3d04a5a939f0a7a5cacb44e209e466c3c7bc08b9..5b5439fab7327c784309e0c51d489abf174336fe 100644 (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))))
 
index c3ef68984536f5f60fe4bc2221ff8b596f297fc5..e28c07ffaad4e1ee367c3ec64324d708546f1321 100644 (file)
 
 ;;; 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)
index 9e193ccea84e1c7792bcba2d3010e0a1191cff2d..448a0088fb8bd02b9a96e6d6c5033fa9486b28fc 100644 (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))))
 
index cc3af11a47d860760e807c06136df16b780cd6ce..efa27c3305df7db9bfa17e463ee26c8ae0985765 100644 (file)
@@ -48,6 +48,7 @@
 
 ;;; Code:
 
+;; For Emacs <22.2 and XEmacs.
 (eval-and-compile
   (unless (fboundp 'declare-function) (defmacro declare-function (&rest r))))
 
index ed72d7b9ce0b10a2936bd027b29bb1fcade495c7..9265e962b3821a4b0d9c710e9e4bda9d2f0d1dfe 100644 (file)
 
 (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")
index 2325171b68bc0e45c911cbd6d5219a94fde87d6a..72f8729de77736ef58e4081f6bdf1b74afafd18a 100644 (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))
 
index de227394f29b4467b2fefe6a027c21e2e8e08e58..f654f3dc35e658f690430edd991e5d5a6294713f 100644 (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))