diff options
Diffstat (limited to 'src/fns.c')
| -rw-r--r-- | src/fns.c | 8 |
1 files changed, 4 insertions, 4 deletions
| @@ -782,7 +782,7 @@ concat (nargs, args, target_type, last_special) | |||
| 782 | /* Store this element into the result. */ | 782 | /* Store this element into the result. */ |
| 783 | if (toindex < 0) | 783 | if (toindex < 0) |
| 784 | { | 784 | { |
| 785 | XCAR (tail) = elt; | 785 | XSETCAR (tail, elt); |
| 786 | prev = tail; | 786 | prev = tail; |
| 787 | tail = XCDR (tail); | 787 | tail = XCDR (tail); |
| 788 | } | 788 | } |
| @@ -823,7 +823,7 @@ concat (nargs, args, target_type, last_special) | |||
| 823 | } | 823 | } |
| 824 | } | 824 | } |
| 825 | if (!NILP (prev)) | 825 | if (!NILP (prev)) |
| 826 | XCDR (prev) = last_tail; | 826 | XSETCDR (prev, last_tail); |
| 827 | 827 | ||
| 828 | if (num_textprops > 0) | 828 | if (num_textprops > 0) |
| 829 | { | 829 | { |
| @@ -1159,7 +1159,7 @@ Elements of ALIST that are not conses are also shared. */ | |||
| 1159 | car = XCAR (tem); | 1159 | car = XCAR (tem); |
| 1160 | 1160 | ||
| 1161 | if (CONSP (car)) | 1161 | if (CONSP (car)) |
| 1162 | XCAR (tem) = Fcons (XCAR (car), XCDR (car)); | 1162 | XSETCAR (tem, Fcons (XCAR (car), XCDR (car))); |
| 1163 | } | 1163 | } |
| 1164 | return alist; | 1164 | return alist; |
| 1165 | } | 1165 | } |
| @@ -3153,7 +3153,7 @@ The value can later be retrieved with `widget-get'. */ | |||
| 3153 | Lisp_Object widget, property, value; | 3153 | Lisp_Object widget, property, value; |
| 3154 | { | 3154 | { |
| 3155 | CHECK_CONS (widget, 1); | 3155 | CHECK_CONS (widget, 1); |
| 3156 | XCDR (widget) = Fplist_put (XCDR (widget), property, value); | 3156 | XSETCDR (widget, Fplist_put (XCDR (widget), property, value)); |
| 3157 | return value; | 3157 | return value; |
| 3158 | } | 3158 | } |
| 3159 | 3159 | ||