(gnus-summary-exit): Don't clear the global counterparts of the buffer-local
authorKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 9 Dec 2004 14:31:01 +0000 (14:31 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Thu, 9 Dec 2004 14:31:01 +0000 (14:31 +0000)
 variables.  From Romain Francoise.

lisp/ChangeLog
lisp/gnus-sum.el

index d491066..92c041a 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-16  Romain Francoise  <romain@orebokech.com>
+
+       * gnus-sum.el (gnus-summary-exit): Don't clear the global
+       counterparts of the buffer-local variables.
+
 2004-11-25  Reiner Steib  <Reiner.Steib@gmx.de>
 
        * message.el (message-forbidden-properties): Fixed typo in doc
index 8a96862..6b56a98 100644 (file)
@@ -6720,12 +6720,6 @@ If FORCE (the prefix), also save the .newsrc file(s)."
          (gnus-summary-clear-local-variables))
        (when (get-buffer gnus-article-buffer)
          (bury-buffer gnus-article-buffer))
-       ;; We clear the global counterparts of the buffer-local
-       ;; variables as well, just to be on the safe side.
-       (set-buffer gnus-group-buffer)
-       (gnus-summary-clear-local-variables)
-       (let ((gnus-summary-local-variables gnus-newsgroup-variables))
-         (gnus-summary-clear-local-variables))
        ;; Return to group mode buffer.
        (when (eq mode 'gnus-summary-mode)
          (gnus-kill-buffer buf)))