changeset 28608:c46c2efa3731

*** empty log message ***
author Richard M. Stallman <rms@gnu.org>
date Sun, 16 Apr 2000 17:21:24 +0000
parents 7d75f0ff6c50
children 8099fbbcc6e9
files lispref/files.texi
diffstat 1 files changed, 11 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/lispref/files.texi	Sun Apr 16 14:54:52 2000 +0000
+++ b/lispref/files.texi	Sun Apr 16 17:21:24 2000 +0000
@@ -1410,8 +1410,8 @@
 Concatenating these two parts reproduces the original file name.
 
   On most systems, the directory part is everything up to and including
-the last slash; the nondirectory part is the rest.  The rules in VMS
-syntax are complicated.
+the last slash (or backslash, on MS-DOS or MS-Windows); the nondirectory
+part is the rest.  The rules in VMS syntax are complicated.
 
   For some purposes, the nondirectory part is further subdivided into
 the name proper and the @dfn{version number}.  On most systems, only
@@ -1505,6 +1505,15 @@
 @end example
 @end defun
 
+@defvar directory-sep-char
+@tindex directory-sep-char
+This variable holds the character that the system normally uses to
+separate file name components.  The value is @code{?/} on GNU and Unix
+systems, and @code{?\\} on MS-DOS and MS-Windows.  Note that file names
+using slashes as separators work properly in Emacs on all of these
+systems; you are not obliged to use backslashes on Microsoft systems.
+@end defvar
+
 @node Directory Names
 @comment  node-name,  next,  previous,  up
 @subsection Directory Names