diff options
| author | Geoff Voelker | 1998-10-30 03:49:09 +0000 |
|---|---|---|
| committer | Geoff Voelker | 1998-10-30 03:49:09 +0000 |
| commit | dbda5089c071c7f7a4e40510f66493fb72376790 (patch) | |
| tree | a4ac0f2c16058153b35575af466c40194c51ebef /src | |
| parent | 680256a8be35d8240d4a1b7936e53f5956623de3 (diff) | |
| download | emacs-dbda5089c071c7f7a4e40510f66493fb72376790.tar.gz emacs-dbda5089c071c7f7a4e40510f66493fb72376790.zip | |
fileio.c (init_fileio_once): New function.
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 8 |
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 | ||
| 5520 | void | 5520 | void |
| 5521 | init_fileio_once () | ||
| 5522 | { | ||
| 5523 | /* Must be set before any path manipulation is performed. */ | ||
| 5524 | XSETFASTINT (Vdirectory_sep_char, '/'); | ||
| 5525 | } | ||
| 5526 | |||
| 5527 | void | ||
| 5521 | syms_of_fileio () | 5528 | syms_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\ | |||
| 5661 | This variable affects the built-in functions only on Windows,\n\ | 5668 | This variable affects the built-in functions only on Windows,\n\ |
| 5662 | on other platforms, it is initialized so that Lisp code can find out\n\ | 5669 | on other platforms, it is initialized so that Lisp code can find out\n\ |
| 5663 | what the normal separator is."); | 5670 | what 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\ |