Mercurial > hg > xemacs-beta
diff src/mule-charset.c @ 367:a4f53d9b3154 r21-1-13
Import from CVS: tag r21-1-13
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:01:07 +0200 |
parents | 8e84bee8ddd0 |
children | cc15677e0335 |
line wrap: on
line diff
--- a/src/mule-charset.c Mon Aug 13 11:00:13 2007 +0200 +++ b/src/mule-charset.c Mon Aug 13 11:01:07 2007 +0200 @@ -947,10 +947,8 @@ if (EQ (prop, Qreverse_direction_charset)) { Lisp_Object obj = CHARSET_REVERSE_DIRECTION_CHARSET (cs); - if (NILP (obj)) - return Qnil; - else - return XCHARSET_NAME (obj); + /* #### Is this translation OK? If so, error checking sufficient? */ + return CHARSETP (obj) ? XCHARSET_NAME (obj) : obj; } signal_simple_error ("Unrecognized charset property name", prop); return Qnil; /* not reached */