1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-30 04:10:54 -08:00

* frame.el (get-other-frame): Tiny cleanup.

This commit is contained in:
Dmitry Antipov 2013-08-06 14:59:39 +04:00
parent 8951efefa1
commit c8c2aca8d0
2 changed files with 5 additions and 4 deletions

View file

@ -1,3 +1,7 @@
2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
* frame.el (get-other-frame): Tiny cleanup.
2013-08-06 Juanma Barranquero <lekktu@gmail.com>
* vc/vc.el (vc-default-ignore-completion-table):

View file

@ -500,10 +500,7 @@ See help of `modify-frame-parameters' for more information."
"Return some frame other than the current frame.
Create one if necessary. Note that the minibuffer frame, if separate,
is not considered (see `next-frame')."
(let ((s (if (equal (next-frame (selected-frame)) (selected-frame))
(make-frame)
(next-frame (selected-frame)))))
s))
(if (equal (next-frame) (selected-frame)) (make-frame) (next-frame)))
(defun next-multiframe-window ()
"Select the next window, regardless of which frame it is on."