summaryrefslogtreecommitdiff
path: root/src/terminal.c
diff options
context:
space:
mode:
authorDmitry Antipov <dmantipov@yandex.ru>2012-08-09 09:14:23 +0400
committerDmitry Antipov <dmantipov@yandex.ru>2012-08-09 09:14:23 +0400
commita2752828083a77421efdcd59938eeb21657c39a3 (patch)
tree13a3ddaf12f8794882d552d0f15aa3011a96ef58 /src/terminal.c
parente0cc4efac7f170e81c9b95f1a616c1595442936e (diff)
downloademacs-a2752828083a77421efdcd59938eeb21657c39a3.tar.gz
Use TSET for write access to Lisp_Object slots of struct terminal.
* termhooks.h (TSET): New macro. * coding.c, terminal.c, xselect.c: Adjust users.
Diffstat (limited to 'src/terminal.c')
-rw-r--r--src/terminal.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/terminal.c b/src/terminal.c
index 4e03c162213..53610d9736f 100644
--- a/src/terminal.c
+++ b/src/terminal.c
@@ -446,7 +446,7 @@ store_terminal_param (struct terminal *t, Lisp_Object parameter, Lisp_Object val
Lisp_Object old_alist_elt = Fassq (parameter, t->param_alist);
if (EQ (old_alist_elt, Qnil))
{
- t->param_alist = Fcons (Fcons (parameter, value), t->param_alist);
+ TSET (t, param_alist, Fcons (Fcons (parameter, value), t->param_alist));
return Qnil;
}
else