bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#909: not finding etc/charsets/ should give some error/warning


From: Dan Nicolaescu
Subject: bug#909: not finding etc/charsets/ should give some error/warning
Date: Wed, 10 Sep 2008 23:37:23 -0700

Glenn Morris <rgm@gnu.org> writes:

  > Dan Nicolaescu wrote:
  > 
  > > It would be great if some warning/error would be shown if
  > > etc/charsets/* is not found.
  > 
  > *** charset.c       3 Jun 2008 04:22:55 -0000       1.163
  > --- charset.c       10 Sep 2008 21:00:06 -0000
  > ***************
  > *** 2044,2052 ****
  >   void
  >   init_charset ()
  >   {
  > !   Vcharset_map_path
  > !     = Fcons (Fexpand_file_name (build_string ("charsets"), 
Vdata_directory),
  > !        Qnil);
  >   }
  >   
  >   
  > --- 2044,2055 ----
  >   void
  >   init_charset ()
  >   {
  > !   Lisp_Object tempdir;
  > !   tempdir = Fexpand_file_name (build_string ("charsets"), 
Vdata_directory);
  > !   if (access (SDATA (tempdir), 0) < 0)
  > !     dir_warning ("Warning: charsets directory (%s) does not exist.\n",
  > !            tempdir);

Thanks.

How about saying something like "Emacs will not function correctly in
this condition", or something of the sort, to emphasize that the
situation is quite bad?






reply via email to

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