From 7b9cb5448748b75a15840b7fba080cdcb341d0f7 Mon Sep 17 00:00:00 2001 From: Glenn Morris Date: Wed, 19 Mar 2014 21:21:52 -0400 Subject: [PATCH] * src/charset.c (init_charset): When we cannot find the charsets directory, mention if EMACSDATA is set. --- src/ChangeLog | 5 +++++ src/charset.c | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) 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); } -- 2.39.2