diff options
author | Glenn Morris <rgm@gnu.org> | 2012-06-28 23:28:37 -0700 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2012-06-28 23:28:37 -0700 |
commit | c8d3a25c0981020e1b8aa3bf96a4a0059be82431 (patch) | |
tree | 46a76faa5df111a6bea439330ea26bea1cc85585 /src/charset.c | |
parent | 5437effdb836355436f5f986e46baa6a41ec0966 (diff) | |
parent | 3d8b9024adf6136edd3f7b7edf70a88b6ab8a61b (diff) | |
download | emacs-c8d3a25c0981020e1b8aa3bf96a4a0059be82431.tar.gz |
Merge from emacs-24; up to 2012-04-30T11:57:47Z!sdl.web@gmail.com
Diffstat (limited to 'src/charset.c')
-rw-r--r-- | src/charset.c | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/src/charset.c b/src/charset.c index 8ce972ebf37..04de8a44b4c 100644 --- a/src/charset.c +++ b/src/charset.c @@ -2296,11 +2296,15 @@ init_charset (void) tempdir = Fexpand_file_name (build_string ("charsets"), Vdata_directory); if (access (SSDATA (tempdir), 0) < 0) { - dir_warning ("Error: charsets directory (%s) does not exist.\n\ + /* This used to be non-fatal (dir_warning), but it should not + happen, and if it does sooner or later it will cause some + 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\ Please check your installation!\n", - tempdir); - /* TODO should this be a fatal error? (Bug#909) */ + SDATA (tempdir)); + exit (1); } Vcharset_map_path = Fcons (tempdir, Qnil); |