diff options
Diffstat (limited to 'src/xselect.c')
| -rw-r--r-- | src/xselect.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/xselect.c b/src/xselect.c index 463bd6e37b0..ab199e0b9b9 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -22,7 +22,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 22 | #include <config.h> | 22 | #include <config.h> |
| 23 | #include <limits.h> | 23 | #include <limits.h> |
| 24 | #include <stdio.h> /* termhooks.h needs this */ | 24 | #include <stdio.h> /* termhooks.h needs this */ |
| 25 | #include <setjmp.h> | ||
| 26 | 25 | ||
| 27 | #ifdef HAVE_SYS_TYPES_H | 26 | #ifdef HAVE_SYS_TYPES_H |
| 28 | #include <sys/types.h> | 27 | #include <sys/types.h> |
| @@ -193,7 +192,7 @@ static void | |||
| 193 | x_start_queuing_selection_requests (void) | 192 | x_start_queuing_selection_requests (void) |
| 194 | { | 193 | { |
| 195 | if (x_queue_selection_requests) | 194 | if (x_queue_selection_requests) |
| 196 | abort (); | 195 | emacs_abort (); |
| 197 | 196 | ||
| 198 | x_queue_selection_requests++; | 197 | x_queue_selection_requests++; |
| 199 | TRACE1 ("x_start_queuing_selection_requests %d", x_queue_selection_requests); | 198 | TRACE1 ("x_start_queuing_selection_requests %d", x_queue_selection_requests); |
| @@ -245,7 +244,7 @@ symbol_to_x_atom (struct x_display_info *dpyinfo, Lisp_Object sym) | |||
| 245 | if (EQ (sym, QEMACS_TMP)) return dpyinfo->Xatom_EMACS_TMP; | 244 | if (EQ (sym, QEMACS_TMP)) return dpyinfo->Xatom_EMACS_TMP; |
| 246 | if (EQ (sym, QTARGETS)) return dpyinfo->Xatom_TARGETS; | 245 | if (EQ (sym, QTARGETS)) return dpyinfo->Xatom_TARGETS; |
| 247 | if (EQ (sym, QNULL)) return dpyinfo->Xatom_NULL; | 246 | if (EQ (sym, QNULL)) return dpyinfo->Xatom_NULL; |
| 248 | if (!SYMBOLP (sym)) abort (); | 247 | if (!SYMBOLP (sym)) emacs_abort (); |
| 249 | 248 | ||
| 250 | TRACE1 (" XInternAtom %s", SSDATA (SYMBOL_NAME (sym))); | 249 | TRACE1 (" XInternAtom %s", SSDATA (SYMBOL_NAME (sym))); |
| 251 | BLOCK_INPUT; | 250 | BLOCK_INPUT; |
| @@ -1138,7 +1137,7 @@ wait_for_property_change (struct prop_location *location) | |||
| 1138 | ptrdiff_t count = SPECPDL_INDEX (); | 1137 | ptrdiff_t count = SPECPDL_INDEX (); |
| 1139 | 1138 | ||
| 1140 | if (property_change_reply_object) | 1139 | if (property_change_reply_object) |
| 1141 | abort (); | 1140 | emacs_abort (); |
| 1142 | 1141 | ||
| 1143 | /* Make sure to do unexpect_property_change if we quit or err. */ | 1142 | /* Make sure to do unexpect_property_change if we quit or err. */ |
| 1144 | record_unwind_protect (wait_for_property_change_unwind, | 1143 | record_unwind_protect (wait_for_property_change_unwind, |