Commit d61c212b authored by Stefan Monnier's avatar Stefan Monnier
Browse files

(gnus-summary-exit): Remove redundant and harmful

pop-to-buffer, covered by the subsequent gnus-configure-windows.
parent 7c511b96
...@@ -6676,15 +6676,12 @@ If FORCE (the prefix), also save the .newsrc file(s)." ...@@ -6676,15 +6676,12 @@ If FORCE (the prefix), also save the .newsrc file(s)."
(when (eq mode 'gnus-summary-mode) (when (eq mode 'gnus-summary-mode)
(gnus-kill-buffer buf))) (gnus-kill-buffer buf)))
(setq gnus-current-select-method gnus-select-method) (setq gnus-current-select-method gnus-select-method)
(if leave-hidden (set-buffer gnus-group-buffer)
(set-buffer gnus-group-buffer) (if quit-config
(pop-to-buffer gnus-group-buffer)) (gnus-handle-ephemeral-exit quit-config)
(if (not quit-config) (goto-char group-point)
(progn (unless leave-hidden
(goto-char group-point) (gnus-configure-windows 'group 'force)))
(unless leave-hidden
(gnus-configure-windows 'group 'force)))
(gnus-handle-ephemeral-exit quit-config))
;; Clear the current group name. ;; Clear the current group name.
(unless quit-config (unless quit-config
(setq gnus-newsgroup-name nil))))) (setq gnus-newsgroup-name nil)))))
...@@ -11769,5 +11766,5 @@ If ALL is a number, fetch this number of articles." ...@@ -11769,5 +11766,5 @@ If ALL is a number, fetch this number of articles."
;; coding: iso-8859-1 ;; coding: iso-8859-1
;; End: ;; End:
;;; arch-tag: 17c6748f-6d00-4d36-bf01-835c42f31235 ;; arch-tag: 17c6748f-6d00-4d36-bf01-835c42f31235
;;; gnus-sum.el ends here ;;; gnus-sum.el ends here
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment