aboutsummaryrefslogtreecommitdiffstats
path: root/src/alloc.c
diff options
context:
space:
mode:
authorOleh Krehel2015-04-23 12:36:22 +0200
committerOleh Krehel2015-04-29 08:53:55 +0200
commitf66b16c3659ed3d58ce700190b22001db77d9bfd (patch)
tree02fb1ccf25cfdf5de20094b8f598cc30fb6b1747 /src/alloc.c
parent4594f894e60a50e3b5449d762b44a6c69b1bcae6 (diff)
downloademacs-f66b16c3659ed3d58ce700190b22001db77d9bfd.tar.gz
emacs-f66b16c3659ed3d58ce700190b22001db77d9bfd.zip
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)
4496 must not have been killed. */ 4496 must not have been killed. */
4497 return (m->type == MEM_TYPE_BUFFER 4497 return (m->type == MEM_TYPE_BUFFER
4498 && p == m->start 4498 && p == m->start
4499 && !NILP (((struct buffer *) p)->INTERNAL_FIELD (name))); 4499 && !NILP (((struct buffer *) p)->name_));
4500} 4500}
4501 4501
4502#endif /* GC_MARK_STACK || defined GC_MALLOC_CHECK */ 4502#endif /* GC_MARK_STACK || defined GC_MALLOC_CHECK */