diff options
| author | Andreas Schwab | 2012-12-24 17:03:39 +0100 |
|---|---|---|
| committer | Andreas Schwab | 2012-12-24 17:03:39 +0100 |
| commit | 216ed9cc435743a596b04917605d29f5ea562e7e (patch) | |
| tree | f0609d1f841367a17fc89281842cf07952432c30 | |
| parent | 0cbbcb45a5873968f056cbc8959dcfe88cb4b1eb (diff) | |
| download | emacs-216ed9cc435743a596b04917605d29f5ea562e7e.tar.gz emacs-216ed9cc435743a596b04917605d29f5ea562e7e.zip | |
* nnimap.el (nnimap-find-article-by-message-id): Don't error out if
group is nil.
| -rw-r--r-- | lisp/gnus/ChangeLog | 5 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 2cb9489e86e..ece158142c6 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2012-12-24 Andreas Schwab <schwab@linux-m68k.org> | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-find-article-by-message-id): Don't error out if | ||
| 4 | group is nil. | ||
| 5 | |||
| 1 | 2012-12-23 Andreas Schwab <schwab@linux-m68k.org> | 6 | 2012-12-23 Andreas Schwab <schwab@linux-m68k.org> |
| 2 | 7 | ||
| 3 | * shr.el (shr-tag-em): Render as italic, not bold. | 8 | * shr.el (shr-tag-em): Render as italic, not bold. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index 5126c25f66b..7a7d67517c6 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -971,7 +971,7 @@ textual parts.") | |||
| 971 | (defun nnimap-find-article-by-message-id (group message-id) | 971 | (defun nnimap-find-article-by-message-id (group message-id) |
| 972 | (with-current-buffer (nnimap-buffer) | 972 | (with-current-buffer (nnimap-buffer) |
| 973 | (erase-buffer) | 973 | (erase-buffer) |
| 974 | (unless (equal group (nnimap-group nnimap-object)) | 974 | (unless (or (not group) (equal group (nnimap-group nnimap-object))) |
| 975 | (setf (nnimap-group nnimap-object) nil) | 975 | (setf (nnimap-group nnimap-object) nil) |
| 976 | (setf (nnimap-examined nnimap-object) group) | 976 | (setf (nnimap-examined nnimap-object) group) |
| 977 | (nnimap-send-command "EXAMINE %S" (utf7-encode group t))) | 977 | (nnimap-send-command "EXAMINE %S" (utf7-encode group t))) |