diff options
| author | Paul Eggert | 2011-03-29 16:35:49 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-03-29 16:35:49 -0700 |
| commit | 8289296548281f6fa4c8b6b1ee9ead764c4c9aa3 (patch) | |
| tree | 61d1528d9dab94f1be62dd0c76496c9edd00dc1f /src/coding.c | |
| parent | 792c7b2ba5319f436b459ff2c0d21e20207db550 (diff) | |
| parent | d806ab682a8e914345db3f2eede292f85745c98c (diff) | |
| download | emacs-8289296548281f6fa4c8b6b1ee9ead764c4c9aa3.tar.gz emacs-8289296548281f6fa4c8b6b1ee9ead764c4c9aa3.zip | |
Merge from mainline.
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/coding.c b/src/coding.c index a93a9a4d0e4..9e28a1c9f9b 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -853,8 +853,7 @@ static unsigned char *alloc_destination (struct coding_system *, | |||
| 853 | EMACS_INT, unsigned char *); | 853 | EMACS_INT, unsigned char *); |
| 854 | static void setup_iso_safe_charsets (Lisp_Object); | 854 | static void setup_iso_safe_charsets (Lisp_Object); |
| 855 | static unsigned char *encode_designation_at_bol (struct coding_system *, | 855 | static unsigned char *encode_designation_at_bol (struct coding_system *, |
| 856 | int *, int *, | 856 | int *, unsigned char *); |
| 857 | unsigned char *); | ||
| 858 | static int detect_eol (const unsigned char *, | 857 | static int detect_eol (const unsigned char *, |
| 859 | EMACS_INT, enum coding_category); | 858 | EMACS_INT, enum coding_category); |
| 860 | static Lisp_Object adjust_coding_eol_type (struct coding_system *, int); | 859 | static Lisp_Object adjust_coding_eol_type (struct coding_system *, int); |
| @@ -4299,7 +4298,7 @@ encode_invocation_designation (struct charset *charset, | |||
| 4299 | 4298 | ||
| 4300 | static unsigned char * | 4299 | static unsigned char * |
| 4301 | encode_designation_at_bol (struct coding_system *coding, int *charbuf, | 4300 | encode_designation_at_bol (struct coding_system *coding, int *charbuf, |
| 4302 | int *charbuf_end, unsigned char *dst) | 4301 | unsigned char *dst) |
| 4303 | { | 4302 | { |
| 4304 | struct charset *charset; | 4303 | struct charset *charset; |
| 4305 | /* Table of charsets to be designated to each graphic register. */ | 4304 | /* Table of charsets to be designated to each graphic register. */ |
| @@ -4390,7 +4389,7 @@ encode_coding_iso_2022 (struct coding_system *coding) | |||
| 4390 | unsigned char *dst_prev = dst; | 4389 | unsigned char *dst_prev = dst; |
| 4391 | 4390 | ||
| 4392 | /* We have to produce designation sequences if any now. */ | 4391 | /* We have to produce designation sequences if any now. */ |
| 4393 | dst = encode_designation_at_bol (coding, charbuf, charbuf_end, dst); | 4392 | dst = encode_designation_at_bol (coding, charbuf, dst); |
| 4394 | bol_designation = 0; | 4393 | bol_designation = 0; |
| 4395 | /* We are sure that designation sequences are all ASCII bytes. */ | 4394 | /* We are sure that designation sequences are all ASCII bytes. */ |
| 4396 | produced_chars += dst - dst_prev; | 4395 | produced_chars += dst - dst_prev; |