aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/dired.el18
2 files changed, 15 insertions, 8 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index ff3648d1824..41c42340c00 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
12010-07-22 Juanma Barranquero <lekktu@gmail.com>
2
3 * dired.el (dired-no-confirm): Document value t and fix defcustom to
4 accept it (bug#6597). Suggested by Drew Adams <drew.adams@oracle.com>.
5
12010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change) 62010-07-22 Teemu Likonen <tlikonen@iki.fi> (tiny change)
2 7
3 * dired.el (dired-mode-map): Use command remapping (bug#6632). 8 * dired.el (dired-mode-map): Use command remapping (bug#6632).
diff --git a/lisp/dired.el b/lisp/dired.el
index 15cb1b1facd..8184587b01b 100644
--- a/lisp/dired.el
+++ b/lisp/dired.el
@@ -2763,17 +2763,19 @@ name, or the marker and a count of marked files."
2763 (fit-window-to-buffer (get-buffer-window buf) nil 1))) 2763 (fit-window-to-buffer (get-buffer-window buf) nil 1)))
2764 2764
2765(defcustom dired-no-confirm nil 2765(defcustom dired-no-confirm nil
2766 "A list of symbols for commands Dired should not confirm. 2766 "A list of symbols for commands Dired should not confirm, or t.
2767Command symbols are `byte-compile', `chgrp', `chmod', `chown', `compress', 2767Command symbols are `byte-compile', `chgrp', `chmod', `chown', `compress',
2768`copy', `delete', `hardlink', `load', `move', `print', `shell', `symlink', 2768`copy', `delete', `hardlink', `load', `move', `print', `shell', `symlink',
2769`touch' and `uncompress'." 2769`touch' and `uncompress'.
2770If t, confirmation is never needed."
2770 :group 'dired 2771 :group 'dired
2771 :type '(set (const byte-compile) (const chgrp) 2772 :type '(choice (const :tag "Confirmation never needed" t)
2772 (const chmod) (const chown) (const compress) 2773 (set (const byte-compile) (const chgrp)
2773 (const copy) (const delete) (const hardlink) 2774 (const chmod) (const chown) (const compress)
2774 (const load) (const move) (const print) 2775 (const copy) (const delete) (const hardlink)
2775 (const shell) (const symlink) (const touch) 2776 (const load) (const move) (const print)
2776 (const uncompress))) 2777 (const shell) (const symlink) (const touch)
2778 (const uncompress))))
2777 2779
2778(defun dired-mark-pop-up (bufname op-symbol files function &rest args) 2780(defun dired-mark-pop-up (bufname op-symbol files function &rest args)
2779 "Return FUNCTION's result on ARGS after showing which files are marked. 2781 "Return FUNCTION's result on ARGS after showing which files are marked.