aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJuanma Barranquero2010-07-22 14:15:31 +0200
committerJuanma Barranquero2010-07-22 14:15:31 +0200
commit9c0deccb84b7e02e2bda1ab5f85f912bd6099a07 (patch)
treed8e5254b33cac2b8262b1706e2c35e19fb2447d4
parentaac818a886599f5a1edf5524f3920feed62ca454 (diff)
downloademacs-9c0deccb84b7e02e2bda1ab5f85f912bd6099a07.tar.gz
emacs-9c0deccb84b7e02e2bda1ab5f85f912bd6099a07.zip
* dired.el (dired-no-confirm): Document value t and fix defcustom (bug#6597).
-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.