* elmo-nntp.el (elmo-nntp-list-folder): Set current group after `listgroup'.
authorteranisi <teranisi>
Mon, 25 Sep 2000 09:23:20 +0000 (09:23 +0000)
committerteranisi <teranisi>
Mon, 25 Sep 2000 09:23:20 +0000 (09:23 +0000)
elmo/ChangeLog
elmo/elmo-nntp.el

index 2295d80..9da5e25 100644 (file)
@@ -1,5 +1,8 @@
 2000-09-25  Yuuichi Teranishi  <teranisi@gohome.org>
 
+       * elmo-nntp.el (elmo-nntp-list-folder): Set current group after
+       `listgroup'.
+
        * elmo2.el (elmo-folder-diff-async-callback): New variable.
        (elmo-folder-diff-async-callback-data): Ditto.
        (elmo-folder-diff-async): New function.
index 3f919b9..6f690f6 100644 (file)
@@ -481,7 +481,8 @@ Don't cache if nil.")
                (elmo-nntp-set-listgroup server port nil)
                (setq use-listgroup nil))
            (if (null (setq response (elmo-nntp-read-contents buffer process)))
-               (error "Fetching listgroup failed"))
+               (error "Fetching listgroup failed")
+             (setcar (cddr connection) folder))
            (setq numbers (elmo-string-to-list response))))
        (unless use-listgroup
          (elmo-nntp-send-command buffer