[Emacs] Use display-buffer-use-some-frame for frames-only
This seems to be what I had wanted all along. Things seem to work quite well now.
This commit is contained in:
parent
531bca108b
commit
a97eaede08
@ -1179,12 +1179,9 @@ programming mode.
|
||||
(apply 'imalison:display-buffer-other-frame-or-window args)
|
||||
(apply 'display-buffer-same-window args)))
|
||||
|
||||
(defun imalison:display-buffer-other-frame-or-window (buffer &rest args)
|
||||
(defun imalison:display-buffer-other-frame-or-window (&rest args)
|
||||
(if (imalison:use-frames-only)
|
||||
(display-buffer buffer '((display-buffer-reuse-window
|
||||
display-buffer-pop-up-frame)
|
||||
(reusable-frames . t)
|
||||
(inhibit-same-window . t)) t)
|
||||
(apply 'display-buffer-use-some-frame args)
|
||||
(apply 'display-buffer-reuse-window args)))
|
||||
|
||||
(defun imalison:split-window-right ()
|
||||
|
Loading…
Reference in New Issue
Block a user