changeset 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 46b60051ddcc
children 7fdf1d7a2fb4
files lisp/ChangeLog lisp/frame.el
diffstat 2 files changed, 5 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lisp/ChangeLog	Sat Oct 13 16:36:05 2007 +0000
+++ b/lisp/ChangeLog	Sat Oct 13 16:50:36 2007 +0000
@@ -1,5 +1,8 @@
 2007-10-13  Dan Nicolaescu  <dann@ics.uci.edu>
 
+	* frame.el (select-frame-set-input-focus): Fix typo
+	"max" -> "mac". Do not use a single clause cond.
+
 	* cus-start.el (all): Use test that does not match the X11 version
 	for mac.
 
--- 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))))