Don't make unnecessary *Group* buffer when loading.
authorKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 7 Jan 2004 03:14:32 +0000 (03:14 +0000)
committerKatsumi Yamaoka <yamaoka@jpl.org>
Wed, 7 Jan 2004 03:14:32 +0000 (03:14 +0000)
lisp/ChangeLog
lisp/gnus.el

index 5ef8b55..05d634c 100644 (file)
@@ -1,5 +1,7 @@
 2004-01-07  Katsumi Yamaoka  <yamaoka@jpl.org>
 
+       * gnus.el: Don't make unnecessary *Group* buffer when loading.
+
        * run-at-time.el (run-at-time-saved): Remove.
        (run-at-time): Doc fix.
 
index c27b5f7..1512d01 100644 (file)
@@ -937,10 +937,10 @@ be set in `.emacs' instead."
 
 (eval-when (load)
   (let ((command (format "%s" this-command)))
-    (if (and (string-match "gnus" command)
-            (not (string-match "gnus-other-frame" command)))
-       (gnus-splash)
-      (gnus-get-buffer-create gnus-group-buffer))))
+    (when (string-match "gnus" command)
+      (if (string-match "gnus-other-frame" command)
+         (gnus-get-buffer-create gnus-group-buffer)
+       (gnus-splash)))))
 
 ;;; Do the rest.