diff options
Diffstat (limited to '.emacs.d/init.el')
-rw-r--r-- | .emacs.d/init.el | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/.emacs.d/init.el b/.emacs.d/init.el index 9d262aae..e1026b3d 100644 --- a/.emacs.d/init.el +++ b/.emacs.d/init.el @@ -3038,7 +3038,12 @@ mutt's review view, after exiting EDITOR." ;; Instead, can type 'A W' to view whole threads. nil)) (require 'gnus) - (unless (gnus-alive-p) (gnus)) + (if (gnus-alive-p) + (when (derived-mode-p 'gnus-article-mode 'gnus-summary-mode) + (if (spw/use-tabs-not-frames) + (tab-bar-new-tab) + (select-frame (make-frame-command)))) + (gnus)) (gnus-group-read-ephemeral-group (concat "nnselect-" (message-unique-id)) (list 'nnselect "nnselect") nil (cons (current-buffer) gnus-current-window-configuration) nil nil |