diff options
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/src/xselect.c b/src/xselect.c index 91011589bc4..ad27323d358 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -338,7 +338,7 @@ x_own_selection (selection_name, selection_value) | |||
| 338 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) | 338 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) |
| 339 | if (EQ (prev_value, Fcar (XCDR (rest)))) | 339 | if (EQ (prev_value, Fcar (XCDR (rest)))) |
| 340 | { | 340 | { |
| 341 | XCDR (rest) = Fcdr (XCDR (rest)); | 341 | XSETCDR (rest, Fcdr (XCDR (rest))); |
| 342 | break; | 342 | break; |
| 343 | } | 343 | } |
| 344 | } | 344 | } |
| @@ -905,7 +905,7 @@ x_handle_selection_clear (event) | |||
| 905 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) | 905 | for (rest = Vselection_alist; !NILP (rest); rest = Fcdr (rest)) |
| 906 | if (EQ (local_selection_data, Fcar (XCDR (rest)))) | 906 | if (EQ (local_selection_data, Fcar (XCDR (rest)))) |
| 907 | { | 907 | { |
| 908 | XCDR (rest) = Fcdr (XCDR (rest)); | 908 | XSETCDR (rest, Fcdr (XCDR (rest))); |
| 909 | break; | 909 | break; |
| 910 | } | 910 | } |
| 911 | } | 911 | } |
| @@ -982,7 +982,7 @@ x_clear_frame_selections (f) | |||
| 982 | redisplay_preserve_echo_area (22); | 982 | redisplay_preserve_echo_area (22); |
| 983 | #endif | 983 | #endif |
| 984 | } | 984 | } |
| 985 | XCDR (rest) = Fcdr (XCDR (rest)); | 985 | XSETCDR (rest, Fcdr (XCDR (rest))); |
| 986 | break; | 986 | break; |
| 987 | } | 987 | } |
| 988 | } | 988 | } |
| @@ -1076,13 +1076,13 @@ wait_for_property_change (location) | |||
| 1076 | Lisp_Object tem; | 1076 | Lisp_Object tem; |
| 1077 | 1077 | ||
| 1078 | tem = Fcons (Qnil, Qnil); | 1078 | tem = Fcons (Qnil, Qnil); |
| 1079 | XSETFASTINT (XCAR (tem), (EMACS_UINT)location >> 16); | 1079 | XSETCARFASTINT (tem, (EMACS_UINT)location >> 16); |
| 1080 | XSETFASTINT (XCDR (tem), (EMACS_UINT)location & 0xffff); | 1080 | XSETCDRFASTINT (tem, (EMACS_UINT)location & 0xffff); |
| 1081 | 1081 | ||
| 1082 | /* Make sure to do unexpect_property_change if we quit or err. */ | 1082 | /* Make sure to do unexpect_property_change if we quit or err. */ |
| 1083 | record_unwind_protect (wait_for_property_change_unwind, tem); | 1083 | record_unwind_protect (wait_for_property_change_unwind, tem); |
| 1084 | 1084 | ||
| 1085 | XCAR (property_change_reply) = Qnil; | 1085 | XSETCAR (property_change_reply, Qnil); |
| 1086 | 1086 | ||
| 1087 | property_change_reply_object = location; | 1087 | property_change_reply_object = location; |
| 1088 | /* If the event we are waiting for arrives beyond here, it will set | 1088 | /* If the event we are waiting for arrives beyond here, it will set |
| @@ -1128,7 +1128,7 @@ x_handle_property_notify (event) | |||
| 1128 | /* If this is the one wait_for_property_change is waiting for, | 1128 | /* If this is the one wait_for_property_change is waiting for, |
| 1129 | tell it to wake up. */ | 1129 | tell it to wake up. */ |
| 1130 | if (rest == property_change_reply_object) | 1130 | if (rest == property_change_reply_object) |
| 1131 | XCAR (property_change_reply) = Qt; | 1131 | XSETCAR (property_change_reply, Qt); |
| 1132 | 1132 | ||
| 1133 | if (prev) | 1133 | if (prev) |
| 1134 | prev->next = rest->next; | 1134 | prev->next = rest->next; |
| @@ -1239,7 +1239,7 @@ x_get_foreign_selection (selection_symbol, target_type) | |||
| 1239 | /* Prepare to block until the reply has been read. */ | 1239 | /* Prepare to block until the reply has been read. */ |
| 1240 | reading_selection_window = requestor_window; | 1240 | reading_selection_window = requestor_window; |
| 1241 | reading_which_selection = selection_atom; | 1241 | reading_which_selection = selection_atom; |
| 1242 | XCAR (reading_selection_reply) = Qnil; | 1242 | XSETCAR (reading_selection_reply, Qnil); |
| 1243 | 1243 | ||
| 1244 | frame = some_frame_on_display (dpyinfo); | 1244 | frame = some_frame_on_display (dpyinfo); |
| 1245 | 1245 | ||
| @@ -1942,8 +1942,8 @@ x_handle_selection_notify (event) | |||
| 1942 | return; | 1942 | return; |
| 1943 | 1943 | ||
| 1944 | TRACE0 ("Received SelectionNotify"); | 1944 | TRACE0 ("Received SelectionNotify"); |
| 1945 | XCAR (reading_selection_reply) | 1945 | XSETCAR (reading_selection_reply, |
| 1946 | = (event->property != 0 ? Qt : Qlambda); | 1946 | (event->property != 0 ? Qt : Qlambda)); |
| 1947 | } | 1947 | } |
| 1948 | 1948 | ||
| 1949 | 1949 | ||