Synch with `t-gnus-6_14'.
authoryamaoka <yamaoka>
Wed, 23 Aug 2000 05:58:08 +0000 (05:58 +0000)
committeryamaoka <yamaoka>
Wed, 23 Aug 2000 05:58:08 +0000 (05:58 +0000)
ChangeLog
lisp/gnus-group.el

index 6596728..026794e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,18 +1,25 @@
+2000-08-23  Katsumi Yamaoka <yamaoka@jpl.org>
+
+       * lisp/gnus-group.el (gnus-group-rename-group): Inhibit renaming of
+       zombie or killed groups.
+
 2000-08-21  Katsumi Yamaoka <yamaoka@jpl.org>
 
-       * nnheader.el (nnheader-replace-chars-in-string): Use `static-if'.
-       * message.el (message-replace-chars-in-string): Ditto.
+       * lisp/nnheader.el (nnheader-replace-chars-in-string): Use
+       `static-if'.
+       * lisp/message.el (message-replace-chars-in-string): Ditto.
 
 2000-08-19  TSUCHIYA Masatoshi  <tsuchiya@pine.kuee.kyoto-u.ac.jp>
 
-       * nnshimbun.el (nnshimbun-type-definition): Follow changes of ZDNet.
+       * lisp/nnshimbun.el (nnshimbun-type-definition): Follow changes of
+       ZDNet.
        (nnshimbun-make-text-or-html-contents): Ditto.
        (nnshimbun-make-html-contents): Ditto.
 
 2000-08-18  TSUCHIYA Masatoshi  <tsuchiya@pine.kuee.kyoto-u.ac.jp>
             Akihiro Arisawa  <ari@atesoft.advantest.co.jp>
 
-       * nnshimbun.el: Add `mew' and `xemacs' support.
+       * lisp/nnshimbun.el: Add `mew' and `xemacs' support.
 
 2000-08-17  Katsumi Yamaoka <yamaoka@jpl.org>
 
index bb08203..4d56096 100644 (file)
@@ -2054,10 +2054,12 @@ and NEW-NAME will be prompted for."
 
   (gnus-message 6 "Renaming group %s to %s..." group new-name)
   (prog1
-      (if (not (gnus-request-rename-group group new-name))
+      (if (progn
+           (gnus-group-goto-group group)
+           (not (when (< (gnus-group-group-level) gnus-level-zombie)
+                  (gnus-request-rename-group group new-name))))
          (gnus-error 3 "Couldn't rename group %s to %s" group new-name)
        ;; We rename the group internally by killing it...
-       (gnus-group-goto-group group)
        (gnus-group-kill-group)
        ;; ... changing its name ...
        (setcar (cdar gnus-list-of-killed-groups) new-name)