diff options
| author | Juanma Barranquero | 2010-06-04 16:13:35 +0200 |
|---|---|---|
| committer | Juanma Barranquero | 2010-06-04 16:13:35 +0200 |
| commit | 087fc47ace7797d2ef36ff167f7befd5f4ba01da (patch) | |
| tree | 0ed8bed24cd9249672b0afaa79caeea8e4ca6dcc /src/s | |
| parent | 4f201088d33976f3ce04d7e01d1fbd4b6044cbe0 (diff) | |
| download | emacs-087fc47ace7797d2ef36ff167f7befd5f4ba01da.tar.gz emacs-087fc47ace7797d2ef36ff167f7befd5f4ba01da.zip | |
Turn `directory-sep-char' into a noop.
* lisp/subr.el (directory-sep-char): Move from fileio.c and make a defconst.
* src/emacs.c (decode_env_path): Don't check DIRECTORY_SEP,
call dostounix_filename directly.
* src/fileio.c (CORRECT_DIR_SEPS): Remove.
(Ffile_name_directory, directory_file_name, Fexpand_file_name)
(Fsubstitute_in_file_name): Use dostounix_filename instead.
(file_name_as_directory): Use dostounix_filename, DIRECTORY_SEP.
(syms_of_fileio) <directory-sep-char>: Move to subr.el.
* src/lisp.h [WINDOWSNT] (Vdirectory_sep_char): Don't declare.
(DIRECTORY_SEP): Define unconditionally.
* src/w32proc.c (CORRECT_DIR_SEPS): Remove.
(Fw32_short_file_name, Fw32_long_file_name): Use dostounix_filename.
* src/s/ms-w32.h (DIRECTORY_SEP): Remove.
Diffstat (limited to 'src/s')
| -rw-r--r-- | src/s/ms-w32.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/s/ms-w32.h b/src/s/ms-w32.h index 2d6cc2f4bd5..1fcf73d2578 100644 --- a/src/s/ms-w32.h +++ b/src/s/ms-w32.h | |||
| @@ -95,9 +95,6 @@ along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>. */ | |||
| 95 | your system and must be used only through an encapsulation (which | 95 | your system and must be used only through an encapsulation (which |
| 96 | you should place, by convention, in sysdep.c). */ | 96 | you should place, by convention, in sysdep.c). */ |
| 97 | 97 | ||
| 98 | /* Define this to be the separator between path elements. */ | ||
| 99 | #define DIRECTORY_SEP XINT (Vdirectory_sep_char) | ||
| 100 | |||
| 101 | /* Define this to be the separator between devices and paths. */ | 98 | /* Define this to be the separator between devices and paths. */ |
| 102 | #define DEVICE_SEP ':' | 99 | #define DEVICE_SEP ':' |
| 103 | 100 | ||