diff options
author | Dan Nicolaescu <dann@ics.uci.edu> | 2007-10-13 17:57:47 +0000 |
---|---|---|
committer | Dan Nicolaescu <dann@ics.uci.edu> | 2007-10-13 17:57:47 +0000 |
commit | 3561d019523ded9f53497217a8ffed3188d6ac5f (patch) | |
tree | b75ad19e1606b47c28414111c890b51bbd03bee1 /lisp/frame.el | |
parent | 8ec197f99056e5268e95a366988b4837b25bb6cf (diff) | |
download | emacs-3561d019523ded9f53497217a8ffed3188d6ac5f.tar.gz |
Do not use a single clause cond.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r-- | lisp/frame.el | 6 |
1 files changed, 3 insertions, 3 deletions
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. |