[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)
|
||||
(split-window-right)))
|
||||
|
||||
(defun imalison:other-window (&rest args)
|
||||
(defun imalison:other-window (count)
|
||||
(interactive
|
||||
(list 1))
|
||||
(if (imalison:use-frames-only)
|
||||
(apply 'other-frame args)
|
||||
(apply 'other-window args)))
|
||||
(other-window count 'visible)
|
||||
(select-frame-set-input-focus (selected-frame)))
|
||||
|
||||
(when imalison:use-frames-only
|
||||
(setq pop-up-frames 'graphic-only)
|
||||
|
Loading…
Reference in New Issue
Block a user