Mercurial > emacs
changeset 102832:9e5e877e0fd8
* files.texi (File Attributes): Move note about MS-DOS from
Changing Files to File Attributes.
(Create/Delete Dirs): Note that mkdir is an alias for this.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 04 Apr 2009 01:32:57 +0000 |
parents | 1f0beb33697b |
children | 7e45bd72f780 |
files | doc/lispref/ChangeLog doc/lispref/files.texi |
diffstat | 2 files changed, 20 insertions(+), 11 deletions(-) [+] |
line wrap: on
line diff
--- a/doc/lispref/ChangeLog Fri Apr 03 15:10:19 2009 +0000 +++ b/doc/lispref/ChangeLog Sat Apr 04 01:32:57 2009 +0000 @@ -1,3 +1,9 @@ +2009-04-04 Chong Yidong <cyd@stupidchicken.com> + + * files.texi (File Attributes): Move note about MS-DOS from + Changing Files to File Attributes. + (Create/Delete Dirs): Note that mkdir is an alias for this. + 2009-04-01 Markus Triska <triska@gmx.at> * processes.texi (Filter Functions): Suggest how to handle output
--- a/doc/lispref/files.texi Fri Apr 03 15:10:19 2009 +0000 +++ b/doc/lispref/files.texi Sat Apr 04 01:32:57 2009 +0000 @@ -1269,6 +1269,17 @@ @end table @end defun +@cindex MS-DOS and file modes +@cindex file modes and MS-DOS + On MS-DOS, there is no such thing as an ``executable'' file mode bit. +So Emacs considers a file executable if its name ends in one of the +standard executable extensions, such as @file{.com}, @file{.bat}, +@file{.exe}, and some others. Files that begin with the Unix-standard +@samp{#!} signature, such as shell and Perl scripts, are also considered +as executable files. This is reflected in the values returned by +@code{file-modes} and @code{file-attributes}. Directories are also +reported with executable bit set, for compatibility with Unix. + @node Locating Files @subsection How to Locate Files in Standard Places @cindex locate file in path @@ -1570,17 +1581,6 @@ (@pxref{Time of Day}). @end defun -@cindex MS-DOS and file modes -@cindex file modes and MS-DOS - On MS-DOS, there is no such thing as an ``executable'' file mode bit. -So Emacs considers a file executable if its name ends in one of the -standard executable extensions, such as @file{.com}, @file{.bat}, -@file{.exe}, and some others. Files that begin with the Unix-standard -@samp{#!} signature, such as shell and Perl scripts, are also considered -as executable files. This is reflected in the values returned by -@code{file-modes} and @code{file-attributes}. Directories are also -reported with executable bit set, for compatibility with Unix. - @node File Names @section File Names @cindex file names @@ -2491,11 +2491,14 @@ with @code{delete-file}. These special functions exist to create and delete directories. +@findex mkdir @defun make-directory dirname &optional parents This function creates a directory named @var{dirname}. If @var{parents} is non-@code{nil}, as is always the case in an interactive call, that means to create the parent directories first, if they don't already exist. + +@code{mkdir} is an alias for this fuction. @end defun @defun delete-directory dirname