From 2aa8ea6ece8c93ea0f25c0ed3aa681a2d41e6fe2 Mon Sep 17 00:00:00 2001 From: Chong Yidong Date: Sat, 4 Apr 2009 01:32:57 +0000 Subject: [PATCH] * 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. --- doc/lispref/ChangeLog | 6 ++++++ 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 @@ +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 --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. @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 @@ time and must be in the format returned by @code{current-time} (@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 @@ files that are directories. For example, you cannot delete a directory 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 -- 2.39.5