(decode_add_er_char): Must to quote prefix string as regexp.
authortomo <tomo>
Tue, 13 Apr 2004 03:39:51 +0000 (03:39 +0000)
committertomo <tomo>
Tue, 13 Apr 2004 03:39:51 +0000 (03:39 +0000)
src/text-coding.c

index 4b8f2d2..9b6e7dc 100644 (file)
@@ -3295,6 +3295,7 @@ decode_add_er_char (struct decoding_stream *str, Emchar c,
            pat = ret;
          else
            continue;
+         pat = Fregexp_quote (pat);
 
          cell = Fcdr (cell);
          cell = Fcdr (cell);