mirror of
https://github.com/masscollaborationlabs/emacs.git
synced 2025-07-19 02:10:10 +00:00
(setup_coding_system): Don't override the explicitly specified
designations.
This commit is contained in:
parent
aa96c82019
commit
9614806534
1 changed files with 4 additions and 2 deletions
|
@ -3141,10 +3141,12 @@ setup_coding_system (coding_system, coding)
|
||||||
if (reg_bits)
|
if (reg_bits)
|
||||||
for (charset = 0; charset <= MAX_CHARSET; charset++)
|
for (charset = 0; charset <= MAX_CHARSET; charset++)
|
||||||
{
|
{
|
||||||
if (CHARSET_VALID_P (charset))
|
if (CHARSET_VALID_P (charset)
|
||||||
|
&& (CODING_SPEC_ISO_REQUESTED_DESIGNATION (coding, charset)
|
||||||
|
== CODING_SPEC_ISO_NO_REQUESTED_DESIGNATION))
|
||||||
{
|
{
|
||||||
/* There exist some default graphic registers to be
|
/* There exist some default graphic registers to be
|
||||||
used CHARSET. */
|
used by CHARSET. */
|
||||||
|
|
||||||
/* We had better avoid designating a charset of
|
/* We had better avoid designating a charset of
|
||||||
CHARS96 to REG 0 as far as possible. */
|
CHARS96 to REG 0 as far as possible. */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue