]> git.eshelyaron.com Git - emacs.git/commitdiff
nnimap.el (nnimap-find-uid-response): The UID is the last element in the list.
authorLars Magne Ingebrigtsen <larsi@gnus.org>
Fri, 26 Nov 2010 01:27:37 +0000 (01:27 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Fri, 26 Nov 2010 01:27:37 +0000 (01:27 +0000)
lisp/gnus/ChangeLog
lisp/gnus/nnimap.el

index 85c9ffb7b9f33516e351f1d73cf8c51a826e3fac..7769a9c61319a0e9f90cec96778aa7c65c2e4e77 100644 (file)
@@ -6,6 +6,7 @@
        (nnimap-request-accept-article): Use the UID returned, if any.
        (nnimap-request-move-article): Use the UID returned, if any.
        (nnimap-get-groups): Reimplement to work with folded lines.
+       (nnimap-find-uid-response): The UID is the last element in the list.
 
 2010-11-25  Katsumi Yamaoka  <yamaoka@jpl.org>
 
index 63a1115bd0f28a6a036f5d77098d3403d9b110db..97889bb0a64215fb3e4776989fd93465805a6f50 100644 (file)
@@ -984,7 +984,7 @@ textual parts.")
                       group message-id)))))))))
 
 (defun nnimap-find-uid-response (name list)
-  (let ((result (nth 2 (nnimap-find-response-element name list))))
+  (let ((result (car (last (nnimap-find-response-element name list)))))
     (and result
         (string-to-number result))))