X-Git-Url: http://git.hcoop.net/bpt/emacs.git/blobdiff_plain/2bc20f0b55cd7e20da31c05aa7c1711ba3786c9a..ce1b23bb4edc6a43f9fae2d2a8f57a21c144d311:/src/charset.h diff --git a/src/charset.h b/src/charset.h index 1dac7add24..857dc657da 100644 --- a/src/charset.h +++ b/src/charset.h @@ -1,8 +1,8 @@ /* Header for charset handler. Copyright (C) 2001, 2002, 2003, 2004, 2005, - 2006, 2007, 2008 Free Software Foundation, Inc. + 2006, 2007, 2008, 2009 Free Software Foundation, Inc. Copyright (C) 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, - 2005, 2006, 2007, 2008 + 2005, 2006, 2007, 2008, 2009 National Institute of Advanced Industrial Science and Technology (AIST) Registration Number H14PRO021 @@ -503,7 +503,8 @@ extern int iso_charset_table[ISO_MAX_DIMENSION][ISO_MAX_CHARS][ISO_MAX_FINAL]; && ((charset)->method == CHARSET_METHOD_OFFSET \ ? (c) >= (charset)->min_char && (c) <= (charset)->max_char \ : ((charset)->method == CHARSET_METHOD_MAP \ - && (charset)->compact_codes_p) \ + && (charset)->compact_codes_p \ + && CHAR_TABLE_P (CHARSET_ENCODER (charset))) \ ? ! NILP (CHAR_TABLE_REF (CHARSET_ENCODER (charset), (c))) \ : encode_char ((charset), (c)) != (charset)->invalid_code)))) @@ -529,6 +530,7 @@ extern int charset_unicode; extern int charset_jisx0201_roman; extern int charset_jisx0208_1978; extern int charset_jisx0208; +extern int charset_ksc5601; extern int charset_unibyte;