>>>>> "Martin" == Martin Buchholz <martin(a)xemacs.org> writes:
Martin> $ env EMACSPACKAGEPATH= ./xemacs -no-site-file -no-init-file -f kill-emacs
Martin> ^GWrong type argument: stringp, nil
Here's the fix.
1998-05-13 Michael Sperber [Mr. Preprocessor] <sperber(a)informatik.uni-tuebingen.de>
* emacs.c (Fdecode_path_internal): Removed bogus handling of nil
and empty string inputs.
Index: src/emacs.c
===================================================================
RCS file: /usr/CVSroot/XEmacs/xemacs-20/src/emacs.c,v
retrieving revision 1.75
diff -u -r1.75 emacs.c
--- emacs.c 1998/05/10 00:25:59 1.75
+++ emacs.c 1998/05/13 22:42:40
@@ -2453,14 +2453,9 @@
*/
(cd_path))
{
- if (NILP (cd_path))
- return Qnil;
-
CHECK_STRING (cd_path);
- return !XSTRING_LENGTH (cd_path) ?
- list1 (Qnil) :
- decode_path ((char *) XSTRING_DATA (cd_path));
+ return decode_path ((char *) XSTRING_DATA (cd_path));
}
Lisp_Object
--
Cheers =8-} Chipsy
Friede, Völkerverständigung und überhaupt blabla