aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChong Yidong2009-04-04 01:32:57 +0000
committerChong Yidong2009-04-04 01:32:57 +0000
commit2aa8ea6ece8c93ea0f25c0ed3aa681a2d41e6fe2 (patch)
tree782a68915800f5923c6a7ab83b9fac4790802350
parentd52214871ee63038cbdae588656c9b2141456500 (diff)
downloademacs-2aa8ea6ece8c93ea0f25c0ed3aa681a2d41e6fe2.tar.gz
emacs-2aa8ea6ece8c93ea0f25c0ed3aa681a2d41e6fe2.zip
* 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.
-rw-r--r--doc/lispref/ChangeLog6
-rw-r--r--doc/lispref/files.texi25
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 @@
12009-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
12009-04-01 Markus Triska <triska@gmx.at> 72009-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.
1275So Emacs considers a file executable if its name ends in one of the
1276standard 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
1279as executable files. This is reflected in the values returned by
1280@code{file-modes} and @code{file-attributes}. Directories are also
1281reported 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.
1576So Emacs considers a file executable if its name ends in one of the
1577standard 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
1580as executable files. This is reflected in the values returned by
1581@code{file-modes} and @code{file-attributes}. Directories are also
1582reported 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
2491with @code{delete-file}. These special functions exist to create and 2491with @code{delete-file}. These special functions exist to create and
2492delete directories. 2492delete directories.
2493 2493
2494@findex mkdir
2494@defun make-directory dirname &optional parents 2495@defun make-directory dirname &optional parents
2495This function creates a directory named @var{dirname}. 2496This function creates a directory named @var{dirname}.
2496If @var{parents} is non-@code{nil}, as is always the case in an 2497If @var{parents} is non-@code{nil}, as is always the case in an
2497interactive call, that means to create the parent directories first, 2498interactive call, that means to create the parent directories first,
2498if they don't already exist. 2499if 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