diff options
| author | Robert Pluim | 2022-06-15 14:25:17 +0200 |
|---|---|---|
| committer | Robert Pluim | 2022-06-15 14:27:28 +0200 |
| commit | 32cff740e2a618583094a408890f3dcdf0aa01a1 (patch) | |
| tree | 1f2f321a0351b0f394aa1672fc5aefb742d9b796 /src | |
| parent | 850050ca5c4873be9acafce7c9950c10d04d381d (diff) | |
| download | emacs-32cff740e2a618583094a408890f3dcdf0aa01a1.tar.gz emacs-32cff740e2a618583094a408890f3dcdf0aa01a1.zip | |
Describe 'set-file-modes' argument prompting
* src/fileio.c (Fset_file_modes): Document that FILENAME is prompted
for. (Bug#55984)
Diffstat (limited to 'src')
| -rw-r--r-- | src/fileio.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/fileio.c b/src/fileio.c index 7d392e0de73..a240216dea2 100644 --- a/src/fileio.c +++ b/src/fileio.c | |||
| @@ -3510,8 +3510,9 @@ DEFUN ("set-file-modes", Fset_file_modes, Sset_file_modes, 2, 3, | |||
| 3510 | Only the 12 low bits of MODE are used. If optional FLAG is `nofollow', | 3510 | Only the 12 low bits of MODE are used. If optional FLAG is `nofollow', |
| 3511 | do not follow FILENAME if it is a symbolic link. | 3511 | do not follow FILENAME if it is a symbolic link. |
| 3512 | 3512 | ||
| 3513 | Interactively, mode bits are read by `read-file-modes', which accepts | 3513 | Interactively, prompts for FILENAME, and reads MODE with |
| 3514 | symbolic notation, like the `chmod' command from GNU Coreutils. */) | 3514 | `read-file-modes', which accepts symbolic notation, like the `chmod' |
| 3515 | command from GNU Coreutils. */) | ||
| 3515 | (Lisp_Object filename, Lisp_Object mode, Lisp_Object flag) | 3516 | (Lisp_Object filename, Lisp_Object mode, Lisp_Object flag) |
| 3516 | { | 3517 | { |
| 3517 | CHECK_FIXNUM (mode); | 3518 | CHECK_FIXNUM (mode); |