From: Simon Marshall Date: Thu, 20 Mar 1997 12:39:57 +0000 (+0000) Subject: Allow a dired-no-confirm of t X-Git-Tag: emacs-20.1~2746 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7baff557b6794774fe094e17fe83e18c8642038e;p=emacs.git Allow a dired-no-confirm of t --- diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el index 6c07d430df4..5d382ed8272 100644 --- a/lisp/dired-aux.el +++ b/lisp/dired-aux.el @@ -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)))))