1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2024-12-01 08:17:38 +00:00

Do not use a single clause cond.

This commit is contained in:
Dan Nicolaescu 2007-10-13 17:57:47 +00:00
parent 2b444e1f30
commit de30d842fc

View File

@ -821,9 +821,9 @@ the user during startup."
(raise-frame frame)
;; Ensure, if possible, that frame gets input focus.
(when (memq (window-system frame) '(x mac w32))
(x-focus-frame frame))
(cond (focus-follows-mouse
(set-mouse-position (selected-frame) (1- (frame-width)) 0))))
(x-focus-frame frame))
(when focus-follows-mouse
(set-mouse-position (selected-frame) (1- (frame-width)) 0)))
(defun other-frame (arg)
"Select the ARGth different visible frame on current display, and raise it.