aboutsummaryrefslogtreecommitdiffstats
path: root/src/buffer.h
diff options
context:
space:
mode:
authorKenichi Handa2010-07-12 11:28:50 +0900
committerKenichi Handa2010-07-12 11:28:50 +0900
commit2300368463c9719839a0289cd6dccaa93d3274cf (patch)
treed3e5e3b91444fb135bdedf40d0b4f597d47b40de /src/buffer.h
parent892dd5657e548f66bbcfb07a9556cc5fc9f17b8d (diff)
parentf479ef6e6f5c77ba0f1f6b60c1146f324d604e92 (diff)
downloademacs-2300368463c9719839a0289cd6dccaa93d3274cf.tar.gz
emacs-2300368463c9719839a0289cd6dccaa93d3274cf.zip
merge trunk
Diffstat (limited to 'src/buffer.h')
-rw-r--r--src/buffer.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/buffer.h b/src/buffer.h
index 8e4e5d569ae..339e7d9bb6d 100644
--- a/src/buffer.h
+++ b/src/buffer.h
@@ -954,7 +954,7 @@ extern int last_per_buffer_idx;
954 from the start of a buffer structure. */ 954 from the start of a buffer structure. */
955 955
956#define PER_BUFFER_VAR_OFFSET(VAR) \ 956#define PER_BUFFER_VAR_OFFSET(VAR) \
957 ((char *) &((struct buffer *)0)->VAR - (char *) ((struct buffer *)0)) 957 offsetof (struct buffer, VAR)
958 958
959/* Return the index of buffer-local variable VAR. Each per-buffer 959/* Return the index of buffer-local variable VAR. Each per-buffer
960 variable has an index > 0 associated with it, except when it always 960 variable has an index > 0 associated with it, except when it always