From: Glenn Morris Date: Thu, 20 Mar 2014 01:21:52 +0000 (-0400) Subject: * src/charset.c (init_charset): When we cannot find the charsets directory, X-Git-Tag: emacs-24.3.90~142 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7b9cb5448748b75a15840b7fba080cdcb341d0f7;p=emacs.git * src/charset.c (init_charset): When we cannot find the charsets directory, mention if EMACSDATA is set. --- diff --git a/src/ChangeLog b/src/ChangeLog index f7f4a5f03b2..3256a92e37a 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2014-03-20 Glenn Morris + + * charset.c (init_charset): When we cannot find the charsets directory, + mention if EMACSDATA is set. + 2014-03-19 Paul Eggert * fns.c (Frandom): Fix rare bug where the result isn't random. diff --git a/src/charset.c b/src/charset.c index 7935ff9382b..3566b156736 100644 --- a/src/charset.c +++ b/src/charset.c @@ -2305,9 +2305,11 @@ init_charset (void) obscure problem (eg bug#6401), so better abort. */ fprintf (stderr, "Error: charsets directory not found:\n\ %s\n\ -Emacs will not function correctly without the character map files.\n\ +Emacs will not function correctly without the character map files.\n%s\ Please check your installation!\n", - SDATA (tempdir)); + SDATA (tempdir), + egetenv("EMACSDATA") ? "The EMACSDATA environment \ +variable is set, maybe it has the wrong value?\n" : ""); exit (1); }