diff options
| author | Paul Eggert | 2017-04-17 10:19:39 -0700 |
|---|---|---|
| committer | Paul Eggert | 2017-04-17 10:20:39 -0700 |
| commit | 932698b7891668318ba9ca93375d8d27d52a07f5 (patch) | |
| tree | d70172f4f246978a31460b68a95f1ac69bb1ebc5 /src/coding.h | |
| parent | 09eaf661eb6ea49c6324d8819a872c523133dc2b (diff) | |
| download | emacs-932698b7891668318ba9ca93375d8d27d52a07f5.tar.gz emacs-932698b7891668318ba9ca93375d8d27d52a07f5.zip | |
Tighten recently-added UTF-8 check
* src/coding.c (encode_coding_utf_8): Now extern.
* src/terminal.c (terminal_glyph_code) [HAVE_STRUCT_UNIPAIR_UNICODE]:
Check for UTF-8, not just for multibyte.
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/coding.h b/src/coding.h index 77f90ec9c15..8ed851d99ff 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -664,6 +664,7 @@ struct coding_system | |||
| 664 | 664 | ||
| 665 | /* Extern declarations. */ | 665 | /* Extern declarations. */ |
| 666 | extern Lisp_Object code_conversion_save (bool, bool); | 666 | extern Lisp_Object code_conversion_save (bool, bool); |
| 667 | extern bool encode_coding_utf_8 (struct coding_system *); | ||
| 667 | extern void setup_coding_system (Lisp_Object, struct coding_system *); | 668 | extern void setup_coding_system (Lisp_Object, struct coding_system *); |
| 668 | extern Lisp_Object coding_charset_list (struct coding_system *); | 669 | extern Lisp_Object coding_charset_list (struct coding_system *); |
| 669 | extern Lisp_Object coding_system_charset_list (Lisp_Object); | 670 | extern Lisp_Object coding_system_charset_list (Lisp_Object); |