diff options
| author | Lars Magne Ingebrigtsen | 2010-09-06 00:10:55 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2010-09-06 00:10:55 +0000 |
| commit | a131b9b876d46b339ef9a64a1fbc53977a4bd46b (patch) | |
| tree | 03257360d2489a0f04dedf89cc32d598320cdb6e | |
| parent | f292afe545b3fa9a6aae1ff0ec72bf15557bc662 (diff) | |
| download | emacs-a131b9b876d46b339ef9a64a1fbc53977a4bd46b.tar.gz emacs-a131b9b876d46b339ef9a64a1fbc53977a4bd46b.zip | |
imap.el (imap-mailbox-get): Revert last change for this function.
| -rw-r--r-- | lisp/ChangeLog | 1 | ||||
| -rw-r--r-- | lisp/net/imap.el | 7 |
2 files changed, 5 insertions, 3 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 4ec7ca6b476..740d40309a9 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog | |||
| @@ -7,6 +7,7 @@ | |||
| 7 | (imap-mailbox-map): Ditto. | 7 | (imap-mailbox-map): Ditto. |
| 8 | (imap-mailbox-put): Ditto. | 8 | (imap-mailbox-put): Ditto. |
| 9 | (imap-mailbox-get): Ditto. | 9 | (imap-mailbox-get): Ditto. |
| 10 | (imap-mailbox-get): Revert last change for this function. | ||
| 10 | 11 | ||
| 11 | 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org> | 12 | 2010-09-05 Lars Magne Ingebrigtsen <larsi@gnus.org> |
| 12 | 13 | ||
diff --git a/lisp/net/imap.el b/lisp/net/imap.el index 5c30a5788d8..e286a14a0e4 100644 --- a/lisp/net/imap.el +++ b/lisp/net/imap.el | |||
| @@ -1315,9 +1315,10 @@ If BUFFER is nil, the current buffer is assumed." | |||
| 1315 | (get (intern-soft (or mailbox imap-current-mailbox) imap-mailbox-data) | 1315 | (get (intern-soft (or mailbox imap-current-mailbox) imap-mailbox-data) |
| 1316 | propname)) | 1316 | propname)) |
| 1317 | 1317 | ||
| 1318 | (defun imap-mailbox-get (propname &optional mailbox) | 1318 | (defun imap-mailbox-get (propname &optional mailbox buffer) |
| 1319 | (imap-mailbox-get-1 propname (or (imap-utf7-encode mailbox) | 1319 | (with-current-buffer (or buffer (current-buffer)) |
| 1320 | imap-current-mailbox))) | 1320 | (imap-mailbox-get-1 propname (or (imap-utf7-encode mailbox) |
| 1321 | imap-current-mailbox)))) | ||
| 1321 | 1322 | ||
| 1322 | (defun imap-mailbox-map-1 (func &optional mailbox-decoder) | 1323 | (defun imap-mailbox-map-1 (func &optional mailbox-decoder) |
| 1323 | (let (result) | 1324 | (let (result) |