summaryrefslogtreecommitdiff
path: root/src/coding.h
diff options
context:
space:
mode:
authorDave Love <fx@gnu.org>2003-06-02 18:49:53 +0000
committerDave Love <fx@gnu.org>2003-06-02 18:49:53 +0000
commitc14e5a3a15051728002e0c6362bae5b4b1a1956f (patch)
tree9d178e1de2c5d364160674bc3de24fe1dedb7f93 /src/coding.h
parentecf488bc2597fb2c269d3d8481ed65e4c0b55b10 (diff)
downloademacs-c14e5a3a15051728002e0c6362bae5b4b1a1956f.tar.gz
(ENCODE_UTF_8): New.
(Qutf_8): Declare.
Diffstat (limited to 'src/coding.h')
-rw-r--r--src/coding.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/coding.h b/src/coding.h
index f0a5fa4c04e..4d020d31521 100644
--- a/src/coding.h
+++ b/src/coding.h
@@ -614,6 +614,8 @@ struct coding_system
#endif /* !WINDOWSNT */
+#define ENCODE_UTF_8(str) code_convert_string_norecord (str, Qutf_8, 1)
+
/* Extern declarations. */
extern int decode_coding P_ ((struct coding_system *, const unsigned char *,
unsigned char *, int, int));
@@ -655,6 +657,7 @@ extern Lisp_Object Qcoding_system, Qeol_type, Qcoding_category_index;
extern Lisp_Object Qraw_text, Qemacs_mule;
extern Lisp_Object Qbuffer_file_coding_system;
extern Lisp_Object Vcoding_category_list;
+extern Lisp_Object Qutf_8;
extern Lisp_Object Qtranslation_table;
extern Lisp_Object Qtranslation_table_id;