diff options
| -rw-r--r-- | lisp/gnus/ChangeLog | 7 | ||||
| -rw-r--r-- | lisp/gnus/gnus.el | 14 |
2 files changed, 13 insertions, 8 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index ce40019487a..9305114b634 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-02-09 Juanma Barranquero <lekktu@gmail.com> | ||
| 2 | |||
| 3 | * gnus.el (gnus-method-ephemeral-p): Move after declaration of defsubst | ||
| 4 | `gnus-sloppily-equal-method-parameters' to avoid a warning. | ||
| 5 | |||
| 1 | 2012-02-09 Lars Ingebrigtsen <larsi@gnus.org> | 6 | 2012-02-09 Lars Ingebrigtsen <larsi@gnus.org> |
| 2 | 7 | ||
| 3 | * gnus-msg.el (gnus-msg-mail): Use `message-mail' if Gnus isn't | 8 | * gnus-msg.el (gnus-msg-mail): Use `message-mail' if Gnus isn't |
| @@ -1489,7 +1494,7 @@ | |||
| 1489 | 1494 | ||
| 1490 | 2011-06-21 Andrew Cohen <cohen@andy.bu.edu> | 1495 | 2011-06-21 Andrew Cohen <cohen@andy.bu.edu> |
| 1491 | 1496 | ||
| 1492 | * nnimap.el (nnimap-find-article-by-message-id): return nil when no | 1497 | * nnimap.el (nnimap-find-article-by-message-id): Return nil when no |
| 1493 | article found. | 1498 | article found. |
| 1494 | 1499 | ||
| 1495 | 2011-06-18 Teodor Zlatanov <tzz@lifelogs.com> | 1500 | 2011-06-18 Teodor Zlatanov <tzz@lifelogs.com> |
diff --git a/lisp/gnus/gnus.el b/lisp/gnus/gnus.el index 76003f4eec2..cc4f2eb1e7a 100644 --- a/lisp/gnus/gnus.el +++ b/lisp/gnus/gnus.el | |||
| @@ -3581,13 +3581,6 @@ that that variable is buffer-local to the summary buffers." | |||
| 3581 | gnus-valid-select-methods))) | 3581 | gnus-valid-select-methods))) |
| 3582 | (equal (nth 1 m1) (nth 1 m2))))))) | 3582 | (equal (nth 1 m1) (nth 1 m2))))))) |
| 3583 | 3583 | ||
| 3584 | (defun gnus-method-ephemeral-p (method) | ||
| 3585 | (let ((equal nil)) | ||
| 3586 | (dolist (ephemeral gnus-ephemeral-servers) | ||
| 3587 | (when (gnus-sloppily-equal-method-parameters method ephemeral) | ||
| 3588 | (setq equal t))) | ||
| 3589 | equal)) | ||
| 3590 | |||
| 3591 | (defsubst gnus-sloppily-equal-method-parameters (m1 m2) | 3584 | (defsubst gnus-sloppily-equal-method-parameters (m1 m2) |
| 3592 | ;; Check parameters for sloppy equality. | 3585 | ;; Check parameters for sloppy equality. |
| 3593 | (let ((p1 (copy-sequence (cddr m1))) | 3586 | (let ((p1 (copy-sequence (cddr m1))) |
| @@ -3616,6 +3609,13 @@ that that variable is buffer-local to the summary buffers." | |||
| 3616 | ;; If p2 now is empty, they were equal. | 3609 | ;; If p2 now is empty, they were equal. |
| 3617 | (null p2)))) | 3610 | (null p2)))) |
| 3618 | 3611 | ||
| 3612 | (defun gnus-method-ephemeral-p (method) | ||
| 3613 | (let ((equal nil)) | ||
| 3614 | (dolist (ephemeral gnus-ephemeral-servers) | ||
| 3615 | (when (gnus-sloppily-equal-method-parameters method ephemeral) | ||
| 3616 | (setq equal t))) | ||
| 3617 | equal)) | ||
| 3618 | |||
| 3619 | (defun gnus-methods-sloppily-equal (m1 m2) | 3619 | (defun gnus-methods-sloppily-equal (m1 m2) |
| 3620 | ;; Same method. | 3620 | ;; Same method. |
| 3621 | (or | 3621 | (or |