aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.c
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/buffer.c
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/buffer.c')
-rw-r--r--src/buffer.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 3762b33bdaf..589266f40e5 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -2189,7 +2189,7 @@ DEFUN ("buffer-swap-text", Fbuffer_swap_text, Sbuffer_swap_text,
2189 other_buffer = XBUFFER (buffer); 2189 other_buffer = XBUFFER (buffer);
2190 2190
2191 if (NILP (other_buffer->name)) 2191 if (NILP (other_buffer->name))
2192 error ("Cannot swap a dead buffer's text"); 2192 error ("Cannot swap a dead buffer's text");
2193 2193
2194 /* Actually, it probably works just fine. 2194 /* Actually, it probably works just fine.
2195 * if (other_buffer == current_buffer) 2195 * if (other_buffer == current_buffer)
@@ -2436,7 +2436,7 @@ current buffer is cleared. */)
2436 unsigned char *p = GPT_ADDR - 1; 2436 unsigned char *p = GPT_ADDR - 1;
2437 2437
2438 while (! CHAR_HEAD_P (*p) && p > BEG_ADDR) p--; 2438 while (! CHAR_HEAD_P (*p) && p > BEG_ADDR) p--;
2439 if (BASE_LEADING_CODE_P (*p)) 2439 if (LEADING_CODE_P (*p))
2440 { 2440 {
2441 int new_gpt = GPT_BYTE - (GPT_ADDR - p); 2441 int new_gpt = GPT_BYTE - (GPT_ADDR - p);
2442 2442
@@ -4339,7 +4339,7 @@ add_overlay_mod_hooklist (functionlist, overlay)
4339 int oldsize = XVECTOR (last_overlay_modification_hooks)->size; 4339 int oldsize = XVECTOR (last_overlay_modification_hooks)->size;
4340 4340
4341 if (last_overlay_modification_hooks_used == oldsize) 4341 if (last_overlay_modification_hooks_used == oldsize)
4342 last_overlay_modification_hooks = larger_vector 4342 last_overlay_modification_hooks = larger_vector
4343 (last_overlay_modification_hooks, oldsize * 2, Qnil); 4343 (last_overlay_modification_hooks, oldsize * 2, Qnil);
4344 ASET (last_overlay_modification_hooks, last_overlay_modification_hooks_used, 4344 ASET (last_overlay_modification_hooks, last_overlay_modification_hooks_used,
4345 functionlist); last_overlay_modification_hooks_used++; 4345 functionlist); last_overlay_modification_hooks_used++;