diff options
| author | Eli Zaretskii | 2017-10-27 16:53:16 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2017-10-27 16:53:16 +0300 |
| commit | ec08d70b4fe8d124c385d8184301e9769abb7dd6 (patch) | |
| tree | e06ea520d8f6e6b540a315a0ad2fd66632a03241 /doc | |
| parent | 933b3a3ee8dd15abad3cc8d698e75c7af9eb8c93 (diff) | |
| download | emacs-ec08d70b4fe8d124c385d8184301e9769abb7dd6.tar.gz emacs-ec08d70b4fe8d124c385d8184301e9769abb7dd6.zip | |
Improve documentation of set-default-file-modes
* src/fileio.c (Fset_default_file_modes): Doc fix. (Bug#28875)
* doc/lispref/files.texi (Changing Files): Clarify how the bits in
the argument of set-default-file-modes are used for setting file
permissions.
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/files.texi | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index f49b02de97c..254eab03ea5 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1821,7 +1821,9 @@ has these permissions, or a subset of them (@code{write-region} will | |||
| 1821 | not grant execute permissions even if the default file permissions | 1821 | not grant execute permissions even if the default file permissions |
| 1822 | allow execution). On GNU and other POSIX-like systems, the default | 1822 | allow execution). On GNU and other POSIX-like systems, the default |
| 1823 | permissions are given by the bitwise complement of the @samp{umask} | 1823 | permissions are given by the bitwise complement of the @samp{umask} |
| 1824 | value. | 1824 | value, i.e.@: each bit that is set in the argument @var{mode} will be |
| 1825 | @emph{reset} in the default permissions with which Emacs creates | ||
| 1826 | files. | ||
| 1825 | 1827 | ||
| 1826 | The argument @var{mode} should be an integer which specifies the | 1828 | The argument @var{mode} should be an integer which specifies the |
| 1827 | permissions, similar to @code{set-file-modes} above. Only the lowest | 1829 | permissions, similar to @code{set-file-modes} above. Only the lowest |