]> git.eshelyaron.com Git - emacs.git/commitdiff
lisp/gnus/gnus.el: Avoid byte-compiler warning.
authorJuanma Barranquero <lekktu@gmail.com>
Thu, 9 Feb 2012 23:30:27 +0000 (00:30 +0100)
committerJuanma Barranquero <lekktu@gmail.com>
Thu, 9 Feb 2012 23:30:27 +0000 (00:30 +0100)
(gnus-method-ephemeral-p): Move after declaration of defsubst
`gnus-sloppily-equal-method-parameters' to avoid a warning.

lisp/gnus/ChangeLog
lisp/gnus/gnus.el

index ce40019487ae8e94edb0dcf3fa2ec5be67552c26..9305114b6346e0661a5b6af94c3df3485a0ce1b3 100644 (file)
@@ -1,3 +1,8 @@
+2012-02-09  Juanma Barranquero  <lekktu@gmail.com>
+
+       * gnus.el (gnus-method-ephemeral-p): Move after declaration of defsubst
+       `gnus-sloppily-equal-method-parameters' to avoid a warning.
+
 2012-02-09  Lars Ingebrigtsen  <larsi@gnus.org>
 
        * gnus-msg.el (gnus-msg-mail): Use `message-mail' if Gnus isn't
 
 2011-06-21  Andrew Cohen  <cohen@andy.bu.edu>
 
-       * nnimap.el (nnimap-find-article-by-message-id): return nil when no
+       * nnimap.el (nnimap-find-article-by-message-id): Return nil when no
        article found.
 
 2011-06-18  Teodor Zlatanov  <tzz@lifelogs.com>
index 76003f4eec2254855d835c48ca899006aff389fa..cc4f2eb1e7afb54919db2b535af4d7c9a72f739b 100644 (file)
@@ -3581,13 +3581,6 @@ that that variable is buffer-local to the summary buffers."
                                            gnus-valid-select-methods)))
                 (equal (nth 1 m1) (nth 1 m2)))))))
 
-(defun gnus-method-ephemeral-p (method)
-  (let ((equal nil))
-    (dolist (ephemeral gnus-ephemeral-servers)
-      (when (gnus-sloppily-equal-method-parameters method ephemeral)
-       (setq equal t)))
-    equal))
-
 (defsubst gnus-sloppily-equal-method-parameters (m1 m2)
   ;; Check parameters for sloppy equality.
   (let ((p1 (copy-sequence (cddr m1)))
@@ -3616,6 +3609,13 @@ that that variable is buffer-local to the summary buffers."
       ;; If p2 now is empty, they were equal.
       (null p2))))
 
+(defun gnus-method-ephemeral-p (method)
+  (let ((equal nil))
+    (dolist (ephemeral gnus-ephemeral-servers)
+      (when (gnus-sloppily-equal-method-parameters method ephemeral)
+       (setq equal t)))
+    equal))
+
 (defun gnus-methods-sloppily-equal (m1 m2)
   ;; Same method.
   (or