[Emacs] Make imalison:other-window handle windows AND frames

This commit is contained in:
Ivan Malison 2016-11-07 17:23:08 -08:00
parent 19fe0379a7
commit 1950c24fff
No known key found for this signature in database
GPG Key ID: 62530EFBE99DC2F8

View File

@ -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)