1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-03 10:31:37 -08:00

(detect_coding): Fix previous change.

This commit is contained in:
Kenichi Handa 2002-10-16 02:14:49 +00:00
parent 9b3b32110d
commit 78b82cca67

View file

@ -5070,9 +5070,12 @@ detect_coding (coding)
detected |= detected_mask[category];
if ((*(this->detector)) (coding, &mask)
&& (mask & (1 << category)))
{
mask = 1 << category;
break;
}
}
}
if (! mask)
setup_coding_system (Qraw_text, coding);
else if (mask != CATEGORY_MASK_ANY)