From 7864a3f729e9bd78f17deefec428a6db41742c82 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Mon, 13 Aug 2012 07:44:27 +0400 Subject: 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. --- src/category.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/category.c') 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); -- cgit v1.2.1