diff options
Diffstat (limited to 'doc/lispref')
| -rw-r--r-- | doc/lispref/ChangeLog | 5 | ||||
| -rw-r--r-- | doc/lispref/files.texi | 11 |
2 files changed, 8 insertions, 8 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 5b90c2a1f9f..d4f9ab747ed 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2011-12-28 Paul Eggert <eggert@cs.ucla.edu> | ||
| 2 | |||
| 3 | * files.texi (File Attributes, Changing Files): | ||
| 4 | Use a more-natural notation for octal numbers. | ||
| 5 | |||
| 1 | 2011-12-23 Juanma Barranquero <lekktu@gmail.com> | 6 | 2011-12-23 Juanma Barranquero <lekktu@gmail.com> |
| 2 | 7 | ||
| 3 | * variables.texi (Variables with Restricted Values): | 8 | * variables.texi (Variables with Restricted Values): |
diff --git a/doc/lispref/files.texi b/doc/lispref/files.texi index 86ecfd122ef..b6d0b5c7ed2 100644 --- a/doc/lispref/files.texi +++ b/doc/lispref/files.texi | |||
| @@ -1115,16 +1115,11 @@ This function recursively follows symbolic links at all levels. | |||
| 1115 | @end group | 1115 | @end group |
| 1116 | 1116 | ||
| 1117 | @group | 1117 | @group |
| 1118 | (set-file-modes "~/junk/diffs" 438) | 1118 | (set-file-modes "~/junk/diffs" #o666) |
| 1119 | @result{} nil | 1119 | @result{} nil |
| 1120 | @end group | 1120 | @end group |
| 1121 | 1121 | ||
| 1122 | @group | 1122 | @group |
| 1123 | (format "%o" 438) | ||
| 1124 | @result{} "666" ; @r{Convert to octal.} | ||
| 1125 | @end group | ||
| 1126 | |||
| 1127 | @group | ||
| 1128 | % ls -l diffs | 1123 | % ls -l diffs |
| 1129 | -rw-rw-rw- 1 lewis 0 3063 Oct 30 16:00 diffs | 1124 | -rw-rw-rw- 1 lewis 0 3063 Oct 30 16:00 diffs |
| 1130 | @end group | 1125 | @end group |
| @@ -1570,10 +1565,10 @@ the bitwise complement of the ``umask'' value. | |||
| 1570 | 1565 | ||
| 1571 | The argument @var{mode} must be an integer. On most systems, only the | 1566 | The argument @var{mode} must be an integer. On most systems, only the |
| 1572 | low 9 bits of @var{mode} are meaningful. You can use the Lisp construct | 1567 | low 9 bits of @var{mode} are meaningful. You can use the Lisp construct |
| 1573 | for octal character codes to enter @var{mode}; for example, | 1568 | for octal numbers to enter @var{mode}; for example, |
| 1574 | 1569 | ||
| 1575 | @example | 1570 | @example |
| 1576 | (set-default-file-modes ?\644) | 1571 | (set-default-file-modes #o644) |
| 1577 | @end example | 1572 | @end example |
| 1578 | 1573 | ||
| 1579 | Saving a modified version of an existing file does not count as creating | 1574 | Saving a modified version of an existing file does not count as creating |