mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2025-01-20 18:17:20 +00:00
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.
This commit is contained in:
parent
7582f84423
commit
a427f84dd2
@ -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
|
||||
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user