On Monday 22 January 2007 09:05, Alec Habig wrote:
If the env. variable LANG is not set, xemacs fails to load any of
the
init.el stuff or whatever you've asked it to load from the command line.
It does run, but instead of what one asked it to do it just reports
"Wrong type argument: stringp, nil".
To duplicate this, just "unsetenv LANG" (or whatever the bash equivalent
is) and try to run xemacs. Let LANG be whatever it should be, and
things work no problem.
Smells to me like you've got a "getenv(LANG)" call in there and are
blindly using it to configure stuff, without first checking to see if
the getenv() return value is valid.
Reproduced, and you're right. This is not an upstream XEmacs issue, it's a
bug in the Fedora XEmacs packages' site-start.el.
I'll fix it in the next build, but in the meantime, the attached patch
to /usr/share/xemacs/site-packages/lisp/site-start.el should fix it.
_______________________________________________
XEmacs-Beta mailing list
XEmacs-Beta(a)xemacs.org
http://calypso.tux.org/cgi-bin/mailman/listinfo/xemacs-beta