* src/charset.c (init_charset): When we cannot find the charsets directory,

mention if EMACSDATA is set.
This commit is contained in:
Glenn Morris 2014-03-19 21:21:52 -04:00
parent f15ec1bac8
commit 7b9cb54487
2 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,8 @@
2014-03-20 Glenn Morris <rgm@gnu.org>
* charset.c (init_charset): When we cannot find the charsets directory,
mention if EMACSDATA is set.
2014-03-19 Paul Eggert <eggert@cs.ucla.edu>
* fns.c (Frandom): Fix rare bug where the result isn't random.

View file

@ -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);
}