changeset 88826:15f975409edc

(decode_mode_spec_coding): Use CHARACTERP.
author Dave Love <fx@gnu.org>
date Wed, 03 Jul 2002 22:14:32 +0000
parents 721d24ebba91
children 4f185cac85fb
files src/xdisp.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/xdisp.c	Wed Jul 03 22:09:46 2002 +0000
+++ b/src/xdisp.c	Wed Jul 03 22:14:32 2002 +0000
@@ -13988,8 +13988,7 @@
 	  eol_str = XSTRING (eoltype)->data;
 	  eol_str_len = XSTRING (eoltype)->size;
 	}
-      else if (INTEGERP (eoltype)
-	       && CHAR_VALID_P (XINT (eoltype), 0))
+      else if (CHARACTERP (eoltype))
 	{
 	  eol_str = (unsigned char *) alloca (MAX_MULTIBYTE_LENGTH);
 	  eol_str_len = CHAR_STRING (XINT (eoltype), eol_str);