aboutsummaryrefslogtreecommitdiffstats
path: root/src/character.h
diff options
context:
space:
mode:
authorJuanma Barranquero2010-06-05 02:41:32 +0200
committerJuanma Barranquero2010-06-05 02:41:32 +0200
commit409f29191382c875a05516cc69bf3cc4e3cd4592 (patch)
treee95e30a281267b22136c827ebcfc59f9d3994517 /src/character.h
parent0665f66133e1991559c58ab57112becf1c9fb70e (diff)
downloademacs-409f29191382c875a05516cc69bf3cc4e3cd4592.tar.gz
emacs-409f29191382c875a05516cc69bf3cc4e3cd4592.zip
Remove obsolete macro BASE_LEADING_CODE_P.
* character.h (BASE_LEADING_CODE_P): Remove. * regex.c [!emacs] (BASE_LEADING_CODE_P): Remove. * buffer.c (Fset_buffer_multibyte): * indent.c (scan_for_column, compute_motion): * insdel.c (count_combining_before, count_combining_after): Use LEADING_CODE_P instead of BASE_LEADING_CODE_P.
Diffstat (limited to 'src/character.h')
-rw-r--r--src/character.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/character.h b/src/character.h
index d5404a576ad..c2942954351 100644
--- a/src/character.h
+++ b/src/character.h
@@ -221,10 +221,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
221 (ASCII_BYTE_P (byte) || LEADING_CODE_P (byte)) */ 221 (ASCII_BYTE_P (byte) || LEADING_CODE_P (byte)) */
222#define CHAR_HEAD_P(byte) (((byte) & 0xC0) != 0x80) 222#define CHAR_HEAD_P(byte) (((byte) & 0xC0) != 0x80)
223 223
224/* Kept for backward compatibility. This macro will be removed in the
225 future. */
226#define BASE_LEADING_CODE_P LEADING_CODE_P
227
228/* How many bytes a character that starts with BYTE occupies in a 224/* How many bytes a character that starts with BYTE occupies in a
229 multibyte form. */ 225 multibyte form. */
230#define BYTES_BY_CHAR_HEAD(byte) \ 226#define BYTES_BY_CHAR_HEAD(byte) \
@@ -591,7 +587,7 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */
591 : 0) 587 : 0)
592 588
593/* If C is a high surrogate, return 1. If C is a low surrogate, 589/* If C is a high surrogate, return 1. If C is a low surrogate,
594 return 0. Otherwise, return 0. */ 590 return 0. Otherwise, return 0. */
595 591
596#define CHAR_SURROGATE_PAIR_P(c) \ 592#define CHAR_SURROGATE_PAIR_P(c) \
597 ((c) < 0xD800 ? 0 \ 593 ((c) < 0xD800 ? 0 \