[Emacs] Make imalison:other-window handle windows AND frames
This commit is contained in:
parent
19fe0379a7
commit
1950c24fff
@ -1190,12 +1190,11 @@ programming mode.
|
|||||||
(make-frame)
|
(make-frame)
|
||||||
(split-window-right)))
|
(split-window-right)))
|
||||||
|
|
||||||
(defun imalison:other-window (&rest args)
|
(defun imalison:other-window (count)
|
||||||
(interactive
|
(interactive
|
||||||
(list 1))
|
(list 1))
|
||||||
(if (imalison:use-frames-only)
|
(other-window count 'visible)
|
||||||
(apply 'other-frame args)
|
(select-frame-set-input-focus (selected-frame)))
|
||||||
(apply 'other-window args)))
|
|
||||||
|
|
||||||
(when imalison:use-frames-only
|
(when imalison:use-frames-only
|
||||||
(setq pop-up-frames 'graphic-only)
|
(setq pop-up-frames 'graphic-only)
|
||||||
|
Loading…
Reference in New Issue
Block a user