summaryrefslogtreecommitdiff
path: root/src/category.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-13 07:44:27 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-13 07:44:27 +0400
commit7864a3f729e9bd78f17deefec428a6db41742c82 (patch)
tree35be2792b8dc2716b43b096ff81d4f107427a158 /src/category.c
parent4c31be6153255dfe29a0231253263ea0d9011ac3 (diff)
downloademacs-7864a3f729e9bd78f17deefec428a6db41742c82.tar.gz
Use KSET for write access to Lisp_Object members of struct kboard.
* keyboard.h (KSET): New macro. * callint.c, category.c, frame.c, keyboard.c, keyboard.h, macros.c: * msdos.c, nsfns.m, nsterm.m, term.c, w32fns.c, w32term.c, xfns.c: * xterm.c: Adjust users.
Diffstat (limited to 'src/category.c')
-rw-r--r--src/category.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/category.c b/src/category.c
index 507f880a0ad..13c6e46d283 100644
--- a/src/category.c
+++ b/src/category.c
@@ -285,7 +285,7 @@ Return TABLE. */)
{
int idx;
table = check_category_table (table);
- BVAR (current_buffer, category_table) = table;
+ BSET (current_buffer, category_table, table);
/* Indicate that this buffer now has a specified category table. */
idx = PER_BUFFER_VAR_IDX (category_table);
SET_PER_BUFFER_VALUE_P (current_buffer, idx, 1);