aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.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/xterm.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/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xterm.c b/src/xterm.c
index c64c17463cf..213a527d55d 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -11950,7 +11950,7 @@ x_term_init (Lisp_Object display_name, char *xrm_option, char *resource_name)
11950 11950
11951#else /* not USE_X_TOOLKIT */ 11951#else /* not USE_X_TOOLKIT */
11952 XSetLocaleModifiers (""); 11952 XSetLocaleModifiers ("");
11953 unrequest_sigio (); // See comment in x_display_ok. 11953 unrequest_sigio (); /* See comment in x_display_ok. */
11954 dpy = XOpenDisplay (SSDATA (display_name)); 11954 dpy = XOpenDisplay (SSDATA (display_name));
11955 request_sigio (); 11955 request_sigio ();
11956#endif /* not USE_X_TOOLKIT */ 11956#endif /* not USE_X_TOOLKIT */