mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
Allow a dired-no-confirm of t
This commit is contained in:
parent
0347d06954
commit
7baff557b6
1 changed files with 2 additions and 1 deletions
|
|
@ -592,7 +592,8 @@ Otherwise, the rule is a compression rule, and compression is done with gzip.")
|
|||
;; Confirmation consists in a y-or-n question with a file list
|
||||
;; pop-up unless OP-SYMBOL is a member of `dired-no-confirm'.
|
||||
;; The files used are determined by ARG (as in dired-get-marked-files).
|
||||
(or (memq op-symbol dired-no-confirm)
|
||||
(or (eq dired-no-confirm t)
|
||||
(memq op-symbol dired-no-confirm)
|
||||
(let ((files (dired-get-marked-files t arg))
|
||||
(string (if (eq op-symbol 'compress) "Compress or uncompress"
|
||||
(capitalize (symbol-name op-symbol)))))
|
||||
|
|
|
|||
Loading…
Reference in a new issue