; * lisp/dired.el (dired-no-confirm): Doc fix. (Bug#64493)
This commit is contained in:
parent
a30ebe7a55
commit
9b38773a20
1 changed files with 13 additions and 6 deletions
|
@ -3881,13 +3881,20 @@ or \"* [3 files]\"."
|
||||||
(format "%c [%d files]" dired-marker-char count)))))
|
(format "%c [%d files]" dired-marker-char count)))))
|
||||||
|
|
||||||
(defcustom dired-no-confirm nil
|
(defcustom dired-no-confirm nil
|
||||||
"A list of symbols for commands Dired should not confirm, or t.
|
"Dired commands for which Dired should not popup list of affected files, or t.
|
||||||
Command symbols are `byte-compile', `chgrp', `chmod', `chown', `compress',
|
|
||||||
`copy', `delete', `hardlink', `load', `move', `print', `shell', `symlink',
|
If non-nil, Dired will not pop up the list of files to be affected by
|
||||||
`touch' and `uncompress'.
|
some Dired commands, when asking for confirmation. (Dired will still
|
||||||
If t, confirmation is never needed."
|
ask for confirmation, just without showing the affected files.)
|
||||||
|
|
||||||
|
If the value is t, the list of affected files is never popped up.
|
||||||
|
The value can also be a list of command symbols: then the list of the
|
||||||
|
affected files will not be popped up only for the corresponding Dired
|
||||||
|
commands. Recognized command symbols are `byte-compile', `chgrp',
|
||||||
|
`chmod', `chown', `compress', `copy', `delete', `hardlink', `load',
|
||||||
|
`move', `print', `shell', `symlink', `touch' and `uncompress'."
|
||||||
:group 'dired
|
:group 'dired
|
||||||
:type '(choice (const :tag "Confirmation never needed" t)
|
:type '(choice (const :tag "Affected files never shown" t)
|
||||||
(set (const byte-compile) (const chgrp)
|
(set (const byte-compile) (const chgrp)
|
||||||
(const chmod) (const chown) (const compress)
|
(const chmod) (const chown) (const compress)
|
||||||
(const copy) (const delete) (const hardlink)
|
(const copy) (const delete) (const hardlink)
|
||||||
|
|
Loading…
Add table
Reference in a new issue