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:
parent
9b3b32110d
commit
78b82cca67
1 changed files with 4 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue