summaryrefslogtreecommitdiff
path: root/lisp/frame.el
diff options
context:
space:
mode:
authorDan Nicolaescu <dann@ics.uci.edu>2007-10-13 17:57:47 +0000
committerDan Nicolaescu <dann@ics.uci.edu>2007-10-13 17:57:47 +0000
commitde30d842fcc95576648fe2b9ee7480e77f3737a5 (patch)
tree9651a33a23500bf2932578ff33d51750ce510346 /lisp/frame.el
parent2b444e1f3080999e1acc9c362aa0a4cd54335767 (diff)
downloademacs-de30d842fcc95576648fe2b9ee7480e77f3737a5.tar.gz
Do not use a single clause cond.
Diffstat (limited to 'lisp/frame.el')
-rw-r--r--lisp/frame.el6
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.