diff options
| author | Katsumi Yamaoka | 2012-07-25 03:22:25 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2012-07-25 03:22:25 +0000 |
| commit | 9830626b31fe96bd19bdb61e3dfd09f25a806560 (patch) | |
| tree | ef6b8aad07d92b8a88381c532496c3f8e998f1e6 | |
| parent | 3cc5a3a8718bf0d9c06562a01fd86c22ff9840c0 (diff) | |
| download | emacs-9830626b31fe96bd19bdb61e3dfd09f25a806560.tar.gz emacs-9830626b31fe96bd19bdb61e3dfd09f25a806560.zip | |
nnimap.el (nnimap-get-responses): Don't remove, still used
| -rw-r--r-- | lisp/gnus/ChangeLog | 4 | ||||
| -rw-r--r-- | lisp/gnus/nnimap.el | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index 7278d427d41..dcdddc8cc10 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,7 @@ | |||
| 1 | 2012-07-25 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * nnimap.el (nnimap-get-responses): Don't remove, still used. | ||
| 4 | |||
| 1 | 2012-07-24 Julien Danjou <julien@danjou.info> | 5 | 2012-07-24 Julien Danjou <julien@danjou.info> |
| 2 | 6 | ||
| 3 | * mail-source.el (mail-source-movemail-and-remove): Remove, unused. | 7 | * mail-source.el (mail-source-movemail-and-remove): Remove, unused. |
diff --git a/lisp/gnus/nnimap.el b/lisp/gnus/nnimap.el index a630c732b81..5126c25f66b 100644 --- a/lisp/gnus/nnimap.el +++ b/lisp/gnus/nnimap.el | |||
| @@ -1852,6 +1852,15 @@ textual parts.") | |||
| 1852 | (forward-line 1))) | 1852 | (forward-line 1))) |
| 1853 | (buffer-substring (point) end)))) | 1853 | (buffer-substring (point) end)))) |
| 1854 | 1854 | ||
| 1855 | (defun nnimap-get-responses (sequences) | ||
| 1856 | (let (responses) | ||
| 1857 | (dolist (sequence sequences) | ||
| 1858 | (goto-char (point-min)) | ||
| 1859 | (when (re-search-forward (format "^%d " sequence) nil t) | ||
| 1860 | (push (list sequence (nnimap-parse-response)) | ||
| 1861 | responses))) | ||
| 1862 | responses)) | ||
| 1863 | |||
| 1855 | (defvar nnimap-incoming-split-list nil) | 1864 | (defvar nnimap-incoming-split-list nil) |
| 1856 | 1865 | ||
| 1857 | (defun nnimap-fetch-inbox (articles) | 1866 | (defun nnimap-fetch-inbox (articles) |