From: Dan Nicolaescu Date: Sat, 13 Oct 2007 17:57:47 +0000 (+0000) Subject: Do not use a single clause cond. X-Git-Tag: emacs-pretest-23.0.90~10351 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=de30d842fcc95576648fe2b9ee7480e77f3737a5;p=emacs.git Do not use a single clause cond. --- diff --git a/lisp/frame.el b/lisp/frame.el index 95cddb5112e..30573db9e66 100644 --- a/lisp/frame.el +++ b/lisp/frame.el @@ -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.