/[emacs]/emacs/lisp/dos-fns.el
ViewVC logotype

Diff of /emacs/lisp/dos-fns.el

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.38.2.2 by miles, Tue Oct 14 23:50:57 2003 UTC revision 1.38.2.3 by miles, Tue Jul 6 09:38:06 2004 UTC
# Line 31  Line 31 
31  ;; This overrides a trivial definition in files.el.  ;; This overrides a trivial definition in files.el.
32  (defun convert-standard-filename (filename)  (defun convert-standard-filename (filename)
33    "Convert a standard file's name to something suitable for the current OS.    "Convert a standard file's name to something suitable for the current OS.
34  This function's standard definition is trivial; it just returns the argument.  This means to guarantee valid names and perhaps to canonicalize
35  However, on some systems, the function is redefined  certain patterns.
36  with a definition that really does change some file names."  
37    On Windows and DOS, replace invalid characters.  On DOS, make
38    sure to obey the 8.3 limitations.  On Windows, turn Cygwin names
39    into native names, and also turn slashes into backslashes if the
40    shell requires it (see `w32-shell-dos-semantics')."
41    (if (or (not (stringp filename))    (if (or (not (stringp filename))
42            ;; This catches the case where FILENAME is "x:" or "x:/" or            ;; This catches the case where FILENAME is "x:" or "x:/" or
43            ;; "/", thus preventing infinite recursion.            ;; "/", thus preventing infinite recursion.

Legend:
Removed from v.1.38.2.2  
changed lines
  Added in v.1.38.2.3

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26