summaryrefslogtreecommitdiff
path: root/src/xselect.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2016-11-05 20:41:37 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2016-11-05 20:42:10 -0700
commit84c53436ab25b6c8f76c133e59b34e533ea33cc7 (patch)
tree0591d8e26be72e5c36a221c6642c614d43cb8c30 /src/xselect.c
parentbb61e50533a4dd1f2f93de1f8ca55d31f9094e6d (diff)
downloademacs-84c53436ab25b6c8f76c133e59b34e533ea33cc7.tar.gz
emacs-84c53436ab25b6c8f76c133e59b34e533ea33cc7.tar.bz2
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,
: format_bytes);
XFlush (display);
had_errors_p = x_had_errors_p (display);
- // See comment above about property_change_reply.
+ /* See comment above about property_change_reply. */
set_property_change_object (cs->wait_object);
unblock_input ();
@@ -1393,7 +1393,7 @@ receive_incremental_selection (struct x_display_info *dpyinfo,
wait_object = expect_property_change (display, window, property,
PropertyNewValue);
XFlush (display);
- // See comment in x_reply_selection_request about property_change_reply.
+ /* See comment in x_reply_selection_request about property_change_reply. */
set_property_change_object (wait_object);
unblock_input ();
@@ -1433,7 +1433,8 @@ receive_incremental_selection (struct x_display_info *dpyinfo,
XDeleteProperty (display, window, property);
wait_object = expect_property_change (display, window, property,
PropertyNewValue);
- // See comment in x_reply_selection_request about property_change_reply.
+ /* See comment in x_reply_selection_request about
+ property_change_reply. */
set_property_change_object (wait_object);
XFlush (display);
unblock_input ();