comparison lisp/files.el @ 55865:ccd8cdf69359

Rework docstring (wording by Eli Zaretskii and Kai Grossjohann).
author Juanma Barranquero <lekktu@gmail.com>
date Sun, 30 May 2004 21:21:42 +0000
parents a713acca9ca9
children 077548161fac
comparison
equal deleted inserted replaced
55864:dc60eb9fbbdc 55865:ccd8cdf69359
479 (inhibit-file-name-operation op)) 479 (inhibit-file-name-operation op))
480 (apply op args)))) 480 (apply op args))))
481 481
482 (defun convert-standard-filename (filename) 482 (defun convert-standard-filename (filename)
483 "Convert a standard file's name to something suitable for the current OS. 483 "Convert a standard file's name to something suitable for the current OS.
484 This function's standard definition is trivial; it just returns the argument. 484 This means to guarantee valid names and perhaps to canonicalize
485 However, on some systems, the function is redefined with a definition 485 certain patterns.
486 that really does change some file names to canonicalize certain 486
487 patterns and to guarantee valid names." 487 This function's standard definition is trivial; it just returns
488 the argument. However, on Windows and DOS, replace invalid
489 characters. On DOS, make sure to obey the 8.3 limitations. On
490 Windows, turn Cygwin names into native names, and also turn
491 slashes into backslashes if the shell requires it (see
492 `w32-shell-dos-semantics')."
488 filename) 493 filename)
489 494
490 (defun read-directory-name (prompt &optional dir default-dirname mustmatch initial) 495 (defun read-directory-name (prompt &optional dir default-dirname mustmatch initial)
491 "Read directory name, prompting with PROMPT and completing in directory DIR. 496 "Read directory name, prompting with PROMPT and completing in directory DIR.
492 Value is not expanded---you must call `expand-file-name' yourself. 497 Value is not expanded---you must call `expand-file-name' yourself.