summaryrefslogtreecommitdiff
path: root/src/alloc.c
diff options
context:
space:
mode:
authorOleh Krehel <ohwoeowho@gmail.com>2015-04-23 12:36:22 +0200
committerOleh Krehel <ohwoeowho@gmail.com>2015-04-29 08:53:55 +0200
commitf66b16c3659ed3d58ce700190b22001db77d9bfd (patch)
tree02fb1ccf25cfdf5de20094b8f598cc30fb6b1747 /src/alloc.c
parent4594f894e60a50e3b5449d762b44a6c69b1bcae6 (diff)
downloademacs-f66b16c3659ed3d58ce700190b22001db77d9bfd.tar.gz
Remove the deprecated INTERNAL_FIELD macro by expanding it
* src/lisp.h (INTERNAL_FIELD): Remove. (DEFVAR_KBOARD): Modify accordingly. * alloc.c, buffer.c, buffer.h, category.c, keyboard.c, keyboard.h: * syntax.c: Adjust users. * src/buffer.c (compact_buffer): Use BVAR.
Diffstat (limited to 'src/alloc.c')
-rw-r--r--src/alloc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/alloc.c b/src/alloc.c
index 1f4b1a4694e..688363d06e3 100644
--- a/src/alloc.c
+++ b/src/alloc.c
@@ -4496,7 +4496,7 @@ live_buffer_p (struct mem_node *m, void *p)
must not have been killed. */
return (m->type == MEM_TYPE_BUFFER
&& p == m->start
- && !NILP (((struct buffer *) p)->INTERNAL_FIELD (name)));
+ && !NILP (((struct buffer *) p)->name_));
}
#endif /* GC_MARK_STACK || defined GC_MALLOC_CHECK */