# HG changeset patch # User Chong Yidong # Date 1238808777 0 # Node ID 9e5e877e0fd863d48e9018b82e1e6eaf4e73d394 # Parent 1f0beb33697be2cfb2a9d0b26da291e0de9efcc5 * 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. diff -r 1f0beb33697b -r 9e5e877e0fd8 doc/lispref/ChangeLog --- 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 + + * 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 * processes.texi (Filter Functions): Suggest how to handle output diff -r 1f0beb33697b -r 9e5e877e0fd8 doc/lispref/files.texi --- 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