diff options
| author | Constantine Vetoshev <gepardcv@gmail.com> | 2020-08-10 17:19:54 -0700 |
|---|---|---|
| committer | Constantine Vetoshev <gepardcv@gmail.com> | 2020-08-10 17:19:54 -0700 |
| commit | 9f2884dcaebb59f03b94240d641249c9d16f6794 (patch) | |
| tree | 226f70df4853404d1e01a5abcc07bb0e71c14593 | |
| parent | 532962f63a2c4e8c4618cd96a419915e0f90d022 (diff) | |
Attempt to fix strange initial buffer behavior with new frames.
| -rw-r--r-- | perspective.el | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/perspective.el b/perspective.el index bb4ce03..b8ecc76 100644 --- a/perspective.el +++ b/perspective.el @@ -1041,6 +1041,8 @@ By default, this uses the current frame." (setq global-mode-string (append global-mode-string '((:eval (persp-mode-line))))))) (persp-update-modestring)) + (switch-to-buffer (persp-scratch-buffer persp-initial-frame-name) t) + (persp-activate (make-persp :name persp-initial-frame-name :buffers (list (current-buffer)) :window-configuration (current-window-configuration) |
