Mercurial > emacs
comparison lisp/files.el @ 58225:1f15b3bc2826
(convert-standard-filename): Doc fix.
author | Luc Teirlinck <teirllm@auburn.edu> |
---|---|
date | Sun, 14 Nov 2004 23:24:14 +0000 |
parents | ada0a96cd2b9 |
children | 895594becb0c 2a3f27a45698 b637c617432f |
comparison
equal
deleted
inserted
replaced
58224:455d8b67eb4f | 58225:1f15b3bc2826 |
---|---|
476 inhibit-file-name-handlers))) | 476 inhibit-file-name-handlers))) |
477 (inhibit-file-name-operation op)) | 477 (inhibit-file-name-operation op)) |
478 (apply op args)))) | 478 (apply op args)))) |
479 | 479 |
480 (defun convert-standard-filename (filename) | 480 (defun convert-standard-filename (filename) |
481 "Convert a standard file's name to something suitable for the current OS. | 481 "Convert a standard file's name to something suitable for the OS. |
482 This means to guarantee valid names and perhaps to canonicalize | 482 This means to guarantee valid names and perhaps to canonicalize |
483 certain patterns. | 483 certain patterns. |
484 | 484 |
485 This function's standard definition is trivial; it just returns | 485 This function's standard definition is trivial; it just returns |
486 the argument. However, on Windows and DOS, replace invalid | 486 the argument. However, on Windows and DOS, replace invalid |
487 characters. On DOS, make sure to obey the 8.3 limitations. On | 487 characters. On DOS, make sure to obey the 8.3 limitations. On |
488 Windows, turn Cygwin names into native names, and also turn | 488 Windows, turn Cygwin names into native names, and also turn |
489 slashes into backslashes if the shell requires it (see | 489 slashes into backslashes if the shell requires it (see |
490 `w32-shell-dos-semantics')." | 490 `w32-shell-dos-semantics'). |
491 | |
492 See Info node `(elisp)Standard File Names' for more details." | |
491 filename) | 493 filename) |
492 | 494 |
493 (defun read-directory-name (prompt &optional dir default-dirname mustmatch initial) | 495 (defun read-directory-name (prompt &optional dir default-dirname mustmatch initial) |
494 "Read directory name, prompting with PROMPT and completing in directory DIR. | 496 "Read directory name, prompting with PROMPT and completing in directory DIR. |
495 Value is not expanded---you must call `expand-file-name' yourself. | 497 Value is not expanded---you must call `expand-file-name' yourself. |