Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Avoiding split windows on multiple frame systems #21

Open
heikiheikijp opened this issue Nov 7, 2018 · 0 comments
Open

Avoiding split windows on multiple frame systems #21

heikiheikijp opened this issue Nov 7, 2018 · 0 comments

Comments

@heikiheikijp
Copy link

I usually run Emacs with multiple frames rather than windows. Currently, by default behaviour, gf-display-inf-buffer splits each frame. This can be avoided by setting pop-up-frames to null but that is often not desired.
I prefer to have one frame open for the GF shell without switching focus to it when loading files with C-c C-l. This is achieved with the following change to the code. I leave it here as a suggested improvement, in case others find this useful.

(defun gf-display-inf-buffer () "Display inferior GF buffer." (interactive) (and (get-buffer gf-process-buffer-name) (if (get-buffer-window gf-process-buffer-name t) (display-buffer-use-some-window gf-process-buffer-name nil) (display-buffer gf-process-buffer-name nil))))

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant