diff options
| author | Chong Yidong | 2011-05-26 15:20:59 -0400 |
|---|---|---|
| committer | Chong Yidong | 2011-05-26 15:20:59 -0400 |
| commit | 757c92750c8a9f1c1b69437f19afe62e5f31d9ce (patch) | |
| tree | faa922eb93956d7e790fb6f6ea02a2df135bbee2 /src | |
| parent | e067f0c10d0c717d7505d3ccd44bc2f906af7180 (diff) | |
| download | emacs-757c92750c8a9f1c1b69437f19afe62e5f31d9ce.tar.gz emacs-757c92750c8a9f1c1b69437f19afe62e5f31d9ce.zip | |
src/xselect.c (x_handle_selection_request): Fix typo in last change.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xselect.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/xselect.c b/src/xselect.c index 4c9a402e36e..15eb22c5d6f 100644 --- a/src/xselect.c +++ b/src/xselect.c | |||
| @@ -811,10 +811,6 @@ x_handle_selection_request (struct input_event *event) | |||
| 811 | int success = 0; | 811 | int success = 0; |
| 812 | int count = SPECPDL_INDEX (); | 812 | int count = SPECPDL_INDEX (); |
| 813 | 813 | ||
| 814 | TRACE2 ("x_handle_selection_request, from=0x%08lx time=%lu", | ||
| 815 | (unsigned long) SELECTION_EVENT_REQUESTOR (event), | ||
| 816 | (unsigned long) SELECTION_EVENT_TIME (event)); | ||
| 817 | |||
| 818 | GCPRO2 (local_selection_data, target_symbol); | 814 | GCPRO2 (local_selection_data, target_symbol); |
| 819 | 815 | ||
| 820 | /* Decline if we don't own any selections. */ | 816 | /* Decline if we don't own any selections. */ |
| @@ -836,6 +832,10 @@ x_handle_selection_request (struct input_event *event) | |||
| 836 | x_start_queuing_selection_requests (); | 832 | x_start_queuing_selection_requests (); |
| 837 | record_unwind_protect (queue_selection_requests_unwind, Qnil); | 833 | record_unwind_protect (queue_selection_requests_unwind, Qnil); |
| 838 | 834 | ||
| 835 | TRACE2 ("x_handle_selection_request: selection=%s, target=%s", | ||
| 836 | SDATA (SYMBOL_NAME (selection_symbol)), | ||
| 837 | SDATA (SYMBOL_NAME (target_symbol))); | ||
| 838 | |||
| 839 | if (EQ (target_symbol, QMULTIPLE)) | 839 | if (EQ (target_symbol, QMULTIPLE)) |
| 840 | { | 840 | { |
| 841 | /* For MULTIPLE targets, the event property names a list of atom | 841 | /* For MULTIPLE targets, the event property names a list of atom |
| @@ -849,7 +849,7 @@ x_handle_selection_request (struct input_event *event) | |||
| 849 | multprop = x_get_window_property_as_lisp_data (display, requestor, property, | 849 | multprop = x_get_window_property_as_lisp_data (display, requestor, property, |
| 850 | QMULTIPLE, selection); | 850 | QMULTIPLE, selection); |
| 851 | 851 | ||
| 852 | if (!VECTORP (multprop) || !(ASIZE (multprop) % 2)) | 852 | if (!VECTORP (multprop) || ASIZE (multprop) % 2) |
| 853 | goto DONE; | 853 | goto DONE; |
| 854 | 854 | ||
| 855 | nselections = ASIZE (multprop) / 2; | 855 | nselections = ASIZE (multprop) / 2; |