diff options
| author | Stefan Kangas | 2019-10-14 16:00:05 +0200 |
|---|---|---|
| committer | Stefan Kangas | 2019-10-14 16:00:05 +0200 |
| commit | ed29d0239a03b6eee418e438edee6b2df7612606 (patch) | |
| tree | 2f97f5be0dd999962ffbef19a8dcc1b820a08fae | |
| parent | 08f6c2a8c972b8c323cd24863fa35fb590689de3 (diff) | |
| download | emacs-ed29d0239a03b6eee418e438edee6b2df7612606.tar.gz emacs-ed29d0239a03b6eee418e438edee6b2df7612606.zip | |
Improve documentation of dired-do-chmod
* lisp/dired-aux.el (dired-do-chmod): Doc fix. The part about
MS-Windows was written by Eli Zaretskii. (Bug#24897)
| -rw-r--r-- | lisp/dired-aux.el | 14 |
1 files changed, 11 insertions, 3 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index bfc37c5cdef..8bda25e9e37 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el | |||
| @@ -365,9 +365,17 @@ List has a form of (file-name full-file-name (attribute-list))." | |||
| 365 | ;;;###autoload | 365 | ;;;###autoload |
| 366 | (defun dired-do-chmod (&optional arg) | 366 | (defun dired-do-chmod (&optional arg) |
| 367 | "Change the mode of the marked (or next ARG) files. | 367 | "Change the mode of the marked (or next ARG) files. |
| 368 | Symbolic modes like `g+w' are allowed. | 368 | Both octal numeric modes like `644' and symbolic modes like `g+w' |
| 369 | Type M-n to pull the file attributes of the file at point | 369 | are supported. Type M-n to pull the file attributes of the file |
| 370 | into the minibuffer." | 370 | at point into the minibuffer. |
| 371 | |||
| 372 | See Info node `(coreutils)File permissions' for more information. | ||
| 373 | Alternatively, see the man page for \"chmod\", using the command | ||
| 374 | \\[man] in Emacs. | ||
| 375 | |||
| 376 | Note that on MS-Windows only the `w' (write) bit is meaningful: | ||
| 377 | resetting it makes the file read-only. Changing any other bit | ||
| 378 | has no effect on MS-Windows." | ||
| 371 | (interactive "P") | 379 | (interactive "P") |
| 372 | (let* ((files (dired-get-marked-files t arg nil nil t)) | 380 | (let* ((files (dired-get-marked-files t arg nil nil t)) |
| 373 | ;; The source of default file attributes is the file at point. | 381 | ;; The source of default file attributes is the file at point. |