diff options
author | Eli Zaretskii <eliz@gnu.org> | 2021-09-25 12:18:27 +0300 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2021-09-25 12:18:27 +0300 |
commit | 297c9aa3deb64596b7ea19ae7d65a3ae614c7d2f (patch) | |
tree | 28f17431830ae8427f2fbf0453e0cccf0a28497a /src/character.h | |
parent | 12b860bd1b5c8e0cdffac195286dffc2a765cb0b (diff) | |
download | emacs-297c9aa3deb64596b7ea19ae7d65a3ae614c7d2f.tar.gz |
Fix cursor motion around some Emoji sequences
* src/character.h: Add TAG_SPACE and CANCEL_TAG to known Unicode
characters values.
* src/composite.c (char_composable_p): Recognize TAG characters
relevant to Emoji as composable regardless of their General
Category. (Bug#39799)
Diffstat (limited to 'src/character.h')
-rw-r--r-- | src/character.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/character.h b/src/character.h index 1a745484daa..6ee6bcab205 100644 --- a/src/character.h +++ b/src/character.h @@ -82,6 +82,8 @@ enum LEFT_ANGLE_BRACKET = 0x3008, RIGHT_ANGLE_BRACKET = 0x3009, OBJECT_REPLACEMENT_CHARACTER = 0xFFFC, + TAG_SPACE = 0xE0020, + CANCEL_TAG = 0xE007F, }; extern int char_string (unsigned, unsigned char *); |