aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/lisp.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/lisp.h b/src/lisp.h
index c9a33307bc4..ab07ea750f4 100644
--- a/src/lisp.h
+++ b/src/lisp.h
@@ -725,6 +725,13 @@ extern int string_bytes P_ ((struct Lisp_String *));
725 (STR) = empty_unibyte_string; \ 725 (STR) = empty_unibyte_string; \
726 else XSTRING (STR)->size_byte = -1; } while (0) 726 else XSTRING (STR)->size_byte = -1; } while (0)
727 727
728/* Mark STR as a multibyte string. Assure that STR contains only
729 ASCII characters in advance. */
730#define STRING_SET_MULTIBYTE(STR) \
731 do { if (EQ (STR, empty_unibyte_string)) \
732 (STR) = empty_multibyte_string; \
733 else XSTRING (STR)->size_byte = XSTRING (STR)->size; } while (0)
734
728/* Get text properties. */ 735/* Get text properties. */
729#define STRING_INTERVALS(STR) (XSTRING (STR)->intervals + 0) 736#define STRING_INTERVALS(STR) (XSTRING (STR)->intervals + 0)
730 737