emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 01/01: * src/emacs.c (main) <--version>: Make use o


From: Glenn Morris
Subject: [Emacs-diffs] master 01/01: * src/emacs.c (main) <--version>: Make use of PACKAGE_NAME.
Date: Mon, 24 Nov 2014 01:12:00 +0000

branch: master
commit e01ec2ed084776b370e0634120deec6b65424b8a
Author: Glenn Morris <address@hidden>
Date:   Sun Nov 23 17:11:51 2014 -0800

    * src/emacs.c (main) <--version>: Make use of PACKAGE_NAME.
---
 src/ChangeLog |    2 ++
 src/emacs.c   |    6 +++---
 2 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/src/ChangeLog b/src/ChangeLog
index 8d5f786..a441016 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,5 +1,7 @@
 2014-11-24  Glenn Morris  <address@hidden>
 
+       * emacs.c (main) <--version>: Make use of PACKAGE_NAME.
+
        * Makefile.in (emacs.res): Use ../nt rule, rather than duplicating it.
        (ntsource, WINDRES, EMACS_MANIFEST): Remove, now unused.
 
diff --git a/src/emacs.c b/src/emacs.c
index 62f03c6..da34eaa 100644
--- a/src/emacs.c
+++ b/src/emacs.c
@@ -803,10 +803,10 @@ main (int argc, char **argv)
          version = emacs_version;
          copyright = emacs_copyright;
        }
-      printf ("GNU Emacs %s\n", version);
+      printf ("%s %s\n", PACKAGE_NAME, version);
       printf ("%s\n", copyright);
-      printf ("GNU Emacs comes with ABSOLUTELY NO WARRANTY.\n");
-      printf ("You may redistribute copies of Emacs\n");
+      printf ("%s comes with ABSOLUTELY NO WARRANTY.\n", PACKAGE_NAME);
+      printf ("You may redistribute copies of %s\n", PACKAGE_NAME);
       printf ("under the terms of the GNU General Public License.\n");
       printf ("For more information about these matters, ");
       printf ("see the file named COPYING.\n");



reply via email to

[Prev in Thread] Current Thread [Next in Thread]