diff options
author | Po Lu <luangruo@yahoo.com> | 2022-05-23 18:31:11 +0800 |
---|---|---|
committer | Po Lu <luangruo@yahoo.com> | 2022-05-23 18:31:11 +0800 |
commit | 7ff88efc0276677e955c93be4442e8b70f8d647f (patch) | |
tree | 128f1884498e02787df966aadafe223ae5da01b0 /src/emacs.c | |
parent | caec741c00f907264524fafb5ba058063c898b92 (diff) | |
download | emacs-7ff88efc0276677e955c93be4442e8b70f8d647f.tar.gz |
Fix coding style of recent change
* src/emacs.c (main): Fix coding style by putting the = operator
on the right row.
Diffstat (limited to 'src/emacs.c')
-rw-r--r-- | src/emacs.c | 33 |
1 files changed, 18 insertions, 15 deletions
diff --git a/src/emacs.c b/src/emacs.c index fed525f8bf0..a9126e7be80 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -1422,7 +1422,9 @@ main (int argc, char **argv) skip_args = 0; if (argmatch (argv, argc, "-version", "--version", 3, NULL, &skip_args)) { + Lisp_Object rversion, rbranch, rtime; const char *version, *copyright; + if (initialized) { Lisp_Object tem, tem2; @@ -1450,21 +1452,22 @@ main (int argc, char **argv) copyright = emacs_copyright; } printf ("%s %s\n", PACKAGE_NAME, version); - { - Lisp_Object rversion = - Fsymbol_value (intern_c_string ("emacs-repository-version")); - Lisp_Object rbranch = - Fsymbol_value (intern_c_string ("emacs-repository-branch")); - Lisp_Object rtime = - Fsymbol_value (intern_c_string ("emacs-build-time")); - if (!NILP (rversion) && !NILP (rbranch) && !NILP (rtime)) - printf ("Development version %s on %s branch; build date %s.\n", - SSDATA (Fsubstring (rversion, make_fixnum (0), - make_fixnum (12))), - SSDATA (rbranch), - SSDATA (Fformat_time_string (build_string ("%Y-%m-%d"), - rtime, Qnil))); - } + + rversion + = Fsymbol_value (intern_c_string ("emacs-repository-version")); + rbranch + = Fsymbol_value (intern_c_string ("emacs-repository-branch")); + rtime + = Fsymbol_value (intern_c_string ("emacs-build-time")); + + if (!NILP (rversion) && !NILP (rbranch) && !NILP (rtime)) + printf ("Development version %s on %s branch; build date %s.\n", + SSDATA (Fsubstring (rversion, make_fixnum (0), + make_fixnum (12))), + SSDATA (rbranch), + SSDATA (Fformat_time_string (build_string ("%Y-%m-%d"), + rtime, Qnil))); + printf (("%s\n" "%s comes with ABSOLUTELY NO WARRANTY.\n" "You may redistribute copies of %s\n" |