summaryrefslogtreecommitdiff
path: root/src/callint.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/callint.c
parent4c31be6153255dfe29a0231253263ea0d9011ac3 (diff)
downloademacs-7864a3f729e9bd78f17deefec428a6db41742c82.tar.gz
emacs-7864a3f729e9bd78f17deefec428a6db41742c82.tar.bz2
emacs-7864a3f729e9bd78f17deefec428a6db41742c82.zip
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/callint.c')
-rw-r--r--src/callint.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/callint.c b/src/callint.c
index 51d0a5fa2e8..e0133864674 100644
--- a/src/callint.c
+++ b/src/callint.c
@@ -372,7 +372,7 @@ invoke it. If KEYS is omitted or nil, the return value of
Vthis_command = save_this_command;
Vthis_original_command = save_this_original_command;
Vreal_this_command = save_real_this_command;
- KVAR (current_kboard, Vlast_command) = save_last_command;
+ KSET (current_kboard, Vlast_command, save_last_command);
temporarily_switch_to_single_kboard (NULL);
return unbind_to (speccount, apply1 (function, specs));
@@ -843,7 +843,7 @@ invoke it. If KEYS is omitted or nil, the return value of
Vthis_command = save_this_command;
Vthis_original_command = save_this_original_command;
Vreal_this_command = save_real_this_command;
- KVAR (current_kboard, Vlast_command) = save_last_command;
+ KSET (current_kboard, Vlast_command, save_last_command);
{
Lisp_Object val;