aboutsummaryrefslogtreecommitdiffstats
path: root/src/xselect.c
diff options
context:
space:
mode:
authorPaul Eggert2016-11-05 20:41:37 -0700
committerPaul Eggert2016-11-05 20:42:10 -0700
commit84c53436ab25b6c8f76c133e59b34e533ea33cc7 (patch)
tree0591d8e26be72e5c36a221c6642c614d43cb8c30 /src/xselect.c
parentbb61e50533a4dd1f2f93de1f8ca55d31f9094e6d (diff)
downloademacs-84c53436ab25b6c8f76c133e59b34e533ea33cc7.tar.gz
emacs-84c53436ab25b6c8f76c133e59b34e533ea33cc7.zip
Prefer comments /* like this */ in C code
Emacs C code assumes C99 features, but has long used traditional comments /* like this */ instead of C99-style comments // like this. Stick with traditional comments for now, partly for style, partly as it may be safer with compilers that are not fully in C99 mode.
Diffstat (limited to 'src/xselect.c')
-rw-r--r--src/xselect.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/xselect.c b/src/xselect.c
index 123e46374a2..ff6dc3287cf 100644
--- a/src/xselect.c
+++ b/src/xselect.c
@@ -693,7 +693,7 @@ x_reply_selection_request (struct selection_input_event *event,
693 : format_bytes); 693 : format_bytes);
694 XFlush (display); 694 XFlush (display);
695 had_errors_p = x_had_errors_p (display); 695 had_errors_p = x_had_errors_p (display);
696 // See comment above about property_change_reply. 696 /* See comment above about property_change_reply. */
697 set_property_change_object (cs->wait_object); 697 set_property_change_object (cs->wait_object);
698 unblock_input (); 698 unblock_input ();
699 699
@@ -1393,7 +1393,7 @@ receive_incremental_selection (struct x_display_info *dpyinfo,
1393 wait_object = expect_property_change (display, window, property, 1393 wait_object = expect_property_change (display, window, property,
1394 PropertyNewValue); 1394 PropertyNewValue);
1395 XFlush (display); 1395 XFlush (display);
1396 // See comment in x_reply_selection_request about property_change_reply. 1396 /* See comment in x_reply_selection_request about property_change_reply. */
1397 set_property_change_object (wait_object); 1397 set_property_change_object (wait_object);
1398 unblock_input (); 1398 unblock_input ();
1399 1399
@@ -1433,7 +1433,8 @@ receive_incremental_selection (struct x_display_info *dpyinfo,
1433 XDeleteProperty (display, window, property); 1433 XDeleteProperty (display, window, property);
1434 wait_object = expect_property_change (display, window, property, 1434 wait_object = expect_property_change (display, window, property,
1435 PropertyNewValue); 1435 PropertyNewValue);
1436 // See comment in x_reply_selection_request about property_change_reply. 1436 /* See comment in x_reply_selection_request about
1437 property_change_reply. */
1437 set_property_change_object (wait_object); 1438 set_property_change_object (wait_object);
1438 XFlush (display); 1439 XFlush (display);
1439 unblock_input (); 1440 unblock_input ();