Commit a427f84d authored by Juanma Barranquero's avatar Juanma Barranquero
Browse files

lisp/gnus/gnus.el: Avoid byte-compiler warning.

(gnus-method-ephemeral-p): Move after declaration of defsubst
`gnus-sloppily-equal-method-parameters' to avoid a warning.
parent 7582f844
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
......@@ -1489,7 +1494,7 @@
 
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>
......
......@@ -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
......
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