diff options
| -rw-r--r-- | doc/lispref/ChangeLog | 6 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 25 |
2 files changed, 20 insertions, 11 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 5dce40e0ff2..bd8948862a6 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-04-04 Chong Yidong <cyd@stupidchicken.com> | ||
| 2 | |||
| 3 | * files.texi (File Attributes): Move note about MS-DOS from | ||
| 4 | Changing Files to File Attributes. | ||
| 5 | (Create/Delete Dirs): Note that mkdir is an alias for this. | ||
| 6 | |||
| 1 | 2009-04-01 Markus Triska <triska@gmx.at> | 7 | 2009-04-01 Markus Triska <triska@gmx.at> |
| 2 | 8 | ||
| 3 | * processes.texi (Filter Functions): Suggest how to handle output | 9 | * processes.texi (Filter Functions): Suggest how to handle output |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 8d02831a7fb..5b171f4d1c1 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1269,6 +1269,17 @@ is on file system number -32252. | |||
| 1269 | @end table | 1269 | @end table |
| 1270 | @end defun | 1270 | @end defun |
| 1271 | 1271 | ||
| 1272 | @cindex MS-DOS and file modes | ||
| 1273 | @cindex file modes and MS-DOS | ||
| 1274 | On MS-DOS, there is no such thing as an ``executable'' file mode bit. | ||
| 1275 | So Emacs considers a file executable if its name ends in one of the | ||
| 1276 | standard executable extensions, such as @file{.com}, @file{.bat}, | ||
| 1277 | @file{.exe}, and some others. Files that begin with the Unix-standard | ||
| 1278 | @samp{#!} signature, such as shell and Perl scripts, are also considered | ||
| 1279 | as executable files. This is reflected in the values returned by | ||
| 1280 | @code{file-modes} and @code{file-attributes}. Directories are also | ||
| 1281 | reported with executable bit set, for compatibility with Unix. | ||
| 1282 | |||
| 1272 | @node Locating Files | 1283 | @node Locating Files |
| 1273 | @subsection How to Locate Files in Standard Places | 1284 | @subsection How to Locate Files in Standard Places |
| 1274 | @cindex locate file in path | 1285 | @cindex locate file in path |
| @@ -1570,17 +1581,6 @@ time and must be in the format returned by @code{current-time} | |||
| 1570 | (@pxref{Time of Day}). | 1581 | (@pxref{Time of Day}). |
| 1571 | @end defun | 1582 | @end defun |
| 1572 | 1583 | ||
| 1573 | @cindex MS-DOS and file modes | ||
| 1574 | @cindex file modes and MS-DOS | ||
| 1575 | On MS-DOS, there is no such thing as an ``executable'' file mode bit. | ||
| 1576 | So Emacs considers a file executable if its name ends in one of the | ||
| 1577 | standard executable extensions, such as @file{.com}, @file{.bat}, | ||
| 1578 | @file{.exe}, and some others. Files that begin with the Unix-standard | ||
| 1579 | @samp{#!} signature, such as shell and Perl scripts, are also considered | ||
| 1580 | as executable files. This is reflected in the values returned by | ||
| 1581 | @code{file-modes} and @code{file-attributes}. Directories are also | ||
| 1582 | reported with executable bit set, for compatibility with Unix. | ||
| 1583 | |||
| 1584 | @node File Names | 1584 | @node File Names |
| 1585 | @section File Names | 1585 | @section File Names |
| 1586 | @cindex file names | 1586 | @cindex file names |
| @@ -2491,11 +2491,14 @@ files that are directories. For example, you cannot delete a directory | |||
| 2491 | with @code{delete-file}. These special functions exist to create and | 2491 | with @code{delete-file}. These special functions exist to create and |
| 2492 | delete directories. | 2492 | delete directories. |
| 2493 | 2493 | ||
| 2494 | @findex mkdir | ||
| 2494 | @defun make-directory dirname &optional parents | 2495 | @defun make-directory dirname &optional parents |
| 2495 | This function creates a directory named @var{dirname}. | 2496 | This function creates a directory named @var{dirname}. |
| 2496 | If @var{parents} is non-@code{nil}, as is always the case in an | 2497 | If @var{parents} is non-@code{nil}, as is always the case in an |
| 2497 | interactive call, that means to create the parent directories first, | 2498 | interactive call, that means to create the parent directories first, |
| 2498 | if they don't already exist. | 2499 | if they don't already exist. |
| 2500 | |||
| 2501 | @code{mkdir} is an alias for this fuction. | ||
| 2499 | @end defun | 2502 | @end defun |
| 2500 | 2503 | ||
| 2501 | @defun delete-directory dirname | 2504 | @defun delete-directory dirname |