# HG changeset patch # User Simon Marshall # Date 858861426 0 # Node ID 471ce207330c48758ecee405a40c872b89173bae # Parent 7689ab3937cc416046e95e6ec68d30010431d67f Doc dired-no-confirm and allow t value. diff -r 7689ab3937cc -r 471ce207330c lisp/dired.el --- a/lisp/dired.el Thu Mar 20 04:55:20 1997 +0000 +++ b/lisp/dired.el Thu Mar 20 12:37:06 1997 +0000 @@ -1810,12 +1810,10 @@ ))) (defvar dired-no-confirm nil -;; "If non-nil, list of symbols for commands dired should not confirm. -;;It can be a sublist of -;; -;; '(byte-compile chgrp chmod chown compress copy delete hardlink load -;; move print shell symlink uncompress)" - ) + "A list of symbols for commands dired should not confirm. +Command symbols are `byte-compile', `chgrp', `chmod', `chown', `compress', +`copy', `delete', `hardlink', `load', `move', `print', `shell', `symlink' and +`uncompress'.") (defun dired-mark-pop-up (bufname op-symbol files function &rest args) ;;"Args BUFNAME OP-SYMBOL FILES FUNCTION &rest ARGS. @@ -1828,7 +1826,8 @@ ;; OP-SYMBOL is a member of the list in `dired-no-confirm'. ;;FILES is the list of marked files." (or bufname (setq bufname " *Marked Files*")) - (if (or (memq op-symbol dired-no-confirm) + (if (or (eq dired-no-confirm t) + (memq op-symbol dired-no-confirm) (= (length files) 1)) (apply function args) (save-excursion