summaryrefslogtreecommitdiff
path: root/src/xsmfns.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/xsmfns.c
parentbb61e50533a4dd1f2f93de1f8ca55d31f9094e6d (diff)
downloademacs-84c53436ab25b6c8f76c133e59b34e533ea33cc7.tar.gz
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/xsmfns.c')
-rw-r--r--src/xsmfns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xsmfns.c b/src/xsmfns.c
index 42e23401c7d..d54a94df877 100644
--- a/src/xsmfns.c
+++ b/src/xsmfns.c
@@ -170,7 +170,7 @@ smc_save_yourself_CB (SmcConn smcConn,
char *smid_opt, *chdir_opt = NULL;
Lisp_Object user_login_name = Fuser_login_name (Qnil);
- // Must have these.
+ /* Must have these. */
if (! STRINGP (Vinvocation_name) || ! STRINGP (user_login_name))
return;