diff options
| author | Dave Love | 2003-09-16 17:31:04 +0000 |
|---|---|---|
| committer | Dave Love | 2003-09-16 17:31:04 +0000 |
| commit | b3a208b0fa08bce282e7c846a232d40e965e2b4d (patch) | |
| tree | 60fe75b85eb3b1d5693796d656b643a7f757c47d /src/coding.h | |
| parent | e7da3a9384183c1118e331f60d538e4dd9ff0d2a (diff) | |
| download | emacs-b3a208b0fa08bce282e7c846a232d40e965e2b4d.tar.gz emacs-b3a208b0fa08bce282e7c846a232d40e965e2b4d.zip | |
(ENCODE_UTF_8): New.
Diffstat (limited to 'src/coding.h')
| -rw-r--r-- | src/coding.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/coding.h b/src/coding.h index 78a7d4aac04..a640ba9ebdb 100644 --- a/src/coding.h +++ b/src/coding.h | |||
| @@ -541,6 +541,10 @@ struct coding_system | |||
| 541 | 541 | ||
| 542 | #endif /* !WINDOWSNT */ | 542 | #endif /* !WINDOWSNT */ |
| 543 | 543 | ||
| 544 | /* Used by the gtk menu code. Note that this encodes utf-8, not | ||
| 545 | utf-8-emacs, so it's not a no-op. */ | ||
| 546 | #define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1) | ||
| 547 | |||
| 544 | /* Extern declarations. */ | 548 | /* Extern declarations. */ |
| 545 | extern Lisp_Object make_conversion_work_buffer P_ ((int, int)); | 549 | extern Lisp_Object make_conversion_work_buffer P_ ((int, int)); |
| 546 | extern int decoding_buffer_size P_ ((struct coding_system *, int)); | 550 | extern int decoding_buffer_size P_ ((struct coding_system *, int)); |