This was part of the get-the-X11-font-menu-working patch, and it’s
inarguable, and solves problems I’m seeing with Gnus, so I’m committing it
without discussing it further.
APPROVE COMMIT
NOTE: This patch has been committed.
src/ChangeLog addition:
2007-02-06  Aidan Kehoe  <kehoea(a)parhasard.net>
	* specifier.c (setup_device_initial_specifier_tags):
	Fix a bug where the mswindows specifier tag was matching X11
	devices, because the format of the DEVICE_USER_SPECIFIED_TAGS list
	wasn't being respected correctly. 
XEmacs Trunk source patch:
Diff command:   cvs -q diff -Nu
Files affected: src/specifier.c
===================================================================
RCS
Index: src/specifier.c
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/specifier.c,v
retrieving revision 1.51
diff -u -u -r1.51 specifier.c
--- src/specifier.c	2006/12/11 12:22:52	1.51
+++ src/specifier.c	2007/02/06 19:53:19
@@ -1310,18 +1310,17 @@
       assert(3 == list_len);
 
       device_predicate = XCADR(XCAR (rest));
-      charset_predicate = XCADDR(XCAR (rest));
 					   
       if (NILP (device_predicate))
 	{
-	  XCDR (XCAR (rest2)) = list2(Qt, charset_predicate);
+	  XCDR (XCAR (rest2)) = Qt; 
 	}
       else
 	{
 	  device_predicate = !NILP (call_critical_lisp_code 
 				    (d, device_predicate, device)) 
 	    ? Qt : Qnil;
-	  XCDR (XCAR (rest2)) = list2(device_predicate, charset_predicate);
+	  XCDR (XCAR (rest2)) = device_predicate;
 	}
     }
 }
-- 
On the quay of the little Black Sea port, where the rescued pair came once
more into contact with civilization, Dobrinton was bitten by a dog which was
assumed to be mad, though it may only have been indiscriminating. (Saki)
_______________________________________________
XEmacs-Patches mailing list
XEmacs-Patches(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-patches