changeset 3670:08749d050663

[xemacs-hg @ 2006-11-09 12:47:45 by aidan] Make charset symbols equivalent to charsets in specifier matchspecs.
author aidan
date Thu, 09 Nov 2006 12:47:47 +0000
parents 1a9a6cbe7098
children 414a890eaa8a
files src/ChangeLog src/specifier.c
diffstat 2 files changed, 7 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/ChangeLog	Wed Nov 08 22:51:03 2006 +0000
+++ b/src/ChangeLog	Thu Nov 09 12:47:47 2006 +0000
@@ -1,3 +1,9 @@
+2006-11-09  Aidan Kehoe  <kehoea@parhasard.net>
+
+	* specifier.c (specifier_instance_from_inst_list):
+	Accept symbols as well as charset objects as the cons of a
+	font-related specifier matchspec. Thank you Ilya. 
+	
 2006-11-07  Aidan Kehoe  <kehoea@parhasard.net>
 
 	* mule-charset.c:
--- a/src/specifier.c	Wed Nov 08 22:51:03 2006 +0000
+++ b/src/specifier.c	Thu Nov 09 12:47:47 2006 +0000
@@ -2829,7 +2829,7 @@
     specbind (Qinhibit_quit, Qt);
 
 #ifdef MULE
-  if (CONSP(matchspec) && (CHARSETP(XCAR(matchspec))))
+  if (CONSP(matchspec) && (CHARSETP(Ffind_charset(XCAR(matchspec)))))
     {
       charset = Ffind_charset(XCAR(matchspec));