aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorGeoff Voelker1998-10-30 03:49:09 +0000
committerGeoff Voelker1998-10-30 03:49:09 +0000
commitdbda5089c071c7f7a4e40510f66493fb72376790 (patch)
treea4ac0f2c16058153b35575af466c40194c51ebef /src
parent680256a8be35d8240d4a1b7936e53f5956623de3 (diff)
downloademacs-dbda5089c071c7f7a4e40510f66493fb72376790.tar.gz
emacs-dbda5089c071c7f7a4e40510f66493fb72376790.zip
fileio.c (init_fileio_once): New function.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 79984d9baaf..79b535adc80 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -5518,6 +5518,13 @@ DIR defaults to current buffer's directory default.")
5518} 5518}
5519 5519
5520void 5520void
5521init_fileio_once ()
5522{
5523 /* Must be set before any path manipulation is performed. */
5524 XSETFASTINT (Vdirectory_sep_char, '/');
5525}
5526
5527void
5521syms_of_fileio () 5528syms_of_fileio ()
5522{ 5529{
5523 Qexpand_file_name = intern ("expand-file-name"); 5530 Qexpand_file_name = intern ("expand-file-name");
@@ -5661,7 +5668,6 @@ The value should be either ?/ or ?\\ (any other value is treated as ?\\).\n\
5661This variable affects the built-in functions only on Windows,\n\ 5668This variable affects the built-in functions only on Windows,\n\
5662on other platforms, it is initialized so that Lisp code can find out\n\ 5669on other platforms, it is initialized so that Lisp code can find out\n\
5663what the normal separator is."); 5670what the normal separator is.");
5664 XSETFASTINT (Vdirectory_sep_char, '/');
5665 5671
5666 DEFVAR_LISP ("file-name-handler-alist", &Vfile_name_handler_alist, 5672 DEFVAR_LISP ("file-name-handler-alist", &Vfile_name_handler_alist,
5667 "*Alist of elements (REGEXP . HANDLER) for file names handled specially.\n\ 5673 "*Alist of elements (REGEXP . HANDLER) for file names handled specially.\n\