changeset 110970:029adaffe445

nnimap.el (nnimap-close-server): Forget the nnimap data on close.
author Katsumi Yamaoka <yamaoka@jpl.org>
date Wed, 13 Oct 2010 23:12:47 +0000
parents f8cb84d0e6ee
children 80846b446563
files lisp/gnus/ChangeLog lisp/gnus/nnimap.el
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/gnus/ChangeLog	Thu Oct 14 01:08:58 2010 +0200
+++ b/lisp/gnus/ChangeLog	Wed Oct 13 23:12:47 2010 +0000
@@ -1,5 +1,8 @@
 2010-10-13  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
+	* nnimap.el (nnimap-close-server): Forget the nnimap data on close.
+	This should make server editing work better.
+
 	* shr.el (shr-find-fill-point): Don't inloop on indented text.
 
 	* nnimap.el (nnimap-open-connection): Fix open-tls-stream call.
--- a/lisp/gnus/nnimap.el	Thu Oct 14 01:08:58 2010 +0200
+++ b/lisp/gnus/nnimap.el	Wed Oct 13 23:12:47 2010 +0000
@@ -434,6 +434,7 @@
   (when (nnoo-change-server 'nnimap server nil)
     (ignore-errors
       (delete-process (get-buffer-process (nnimap-buffer))))
+    (nnoo-close-server 'nnimap server)
     t))
 
 (deffoo nnimap-request-close ()