]> git.eshelyaron.com Git - emacs.git/commitdiff
fileio.c (init_fileio_once): New function.
authorGeoff Voelker <voelker@cs.washington.edu>
Fri, 30 Oct 1998 03:49:09 +0000 (03:49 +0000)
committerGeoff Voelker <voelker@cs.washington.edu>
Fri, 30 Oct 1998 03:49:09 +0000 (03:49 +0000)
src/fileio.c

index 79984d9baaf9bfd1a6b00173c0a9dcf521bd5d41..79b535adc80e89794ef2eac84058895cb3903aa1 100644 (file)
@@ -5517,6 +5517,13 @@ DIR defaults to current buffer's directory default.")
   return val;
 }
 \f
+void
+init_fileio_once ()
+{
+  /* Must be set before any path manipulation is performed.  */
+  XSETFASTINT (Vdirectory_sep_char, '/');
+}
+
 void
 syms_of_fileio ()
 {
@@ -5661,7 +5668,6 @@ The value should be either ?/ or ?\\ (any other value is treated as ?\\).\n\
 This variable affects the built-in functions only on Windows,\n\
 on other platforms, it is initialized so that Lisp code can find out\n\
 what the normal separator is.");
-  XSETFASTINT (Vdirectory_sep_char, '/');
 
   DEFVAR_LISP ("file-name-handler-alist", &Vfile_name_handler_alist,
     "*Alist of elements (REGEXP . HANDLER) for file names handled specially.\n\