-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Description
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))))
Metadata
Metadata
Assignees
Labels
No labels