emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] /srv/bzr/emacs/trunk r102520: nnimap.el (nnimap-find-uid-r


From: Katsumi Yamaoka
Subject: [Emacs-diffs] /srv/bzr/emacs/trunk r102520: nnimap.el (nnimap-find-uid-response): The UID is the last element in the list.
Date: Fri, 26 Nov 2010 01:27:37 +0000
User-agent: Bazaar (2.0.3)

------------------------------------------------------------
revno: 102520
author: Lars Magne Ingebrigtsen <address@hidden>
committer: Katsumi Yamaoka <address@hidden>
branch nick: trunk
timestamp: Fri 2010-11-26 01:27:37 +0000
message:
  nnimap.el (nnimap-find-uid-response): The UID is the last element in the list.
modified:
  lisp/gnus/ChangeLog
  lisp/gnus/nnimap.el
=== modified file 'lisp/gnus/ChangeLog'
--- a/lisp/gnus/ChangeLog       2010-11-26 01:14:40 +0000
+++ b/lisp/gnus/ChangeLog       2010-11-26 01:27:37 +0000
@@ -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  <address@hidden>
 

=== modified file 'lisp/gnus/nnimap.el'
--- a/lisp/gnus/nnimap.el       2010-11-26 01:14:40 +0000
+++ b/lisp/gnus/nnimap.el       2010-11-26 01:27:37 +0000
@@ -984,7 +984,7 @@
                       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))))
 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]