(gnus-summary-exit): Don't recenter the group buffer if it is called
authoryamaoka <yamaoka>
Tue, 18 Jan 2000 06:13:05 +0000 (06:13 +0000)
committeryamaoka <yamaoka>
Tue, 18 Jan 2000 06:13:05 +0000 (06:13 +0000)
non-interactively.

lisp/gnus-sum.el

index adfbaba..82e9ee2 100644 (file)
@@ -5441,7 +5441,8 @@ If FORCE (the prefix), also save the .newsrc file(s)."
          (progn
            (goto-char group-point)
            (gnus-configure-windows 'group 'force)
-           (unless (pos-visible-in-window-p)
+           (when (and (interactive-p)
+                      (not (pos-visible-in-window-p)))
              (recenter)))
        (gnus-handle-ephemeral-exit quit-config))
       ;; Clear the current group name.