diff lisp/frame.el @ 85268:d0de3022445d

* frame.el (select-frame-set-input-focus): Fix typo "max" -> "mac". Do not use a single clause cond.
author Dan Nicolaescu <dann@ics.uci.edu>
date Sat, 13 Oct 2007 16:50:36 +0000
parents f1dea8c68d8d
children 7fdf1d7a2fb4
line wrap: on
line diff
--- a/lisp/frame.el	Sat Oct 13 16:36:05 2007 +0000
+++ b/lisp/frame.el	Sat Oct 13 16:50:36 2007 +0000
@@ -820,8 +820,8 @@
     (select-frame frame)
     (raise-frame frame)
     ;; Ensure, if possible, that frame gets input focus.
-    (cond ((memq (window-system frame) '(x max w32))
-	   (x-focus-frame frame)))
+    (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))))