[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] /srv/bzr/emacs/trunk r100865: * dired.el (dired-no-confirm
From: |
Juanma Barranquero |
Subject: |
[Emacs-diffs] /srv/bzr/emacs/trunk r100865: * dired.el (dired-no-confirm): Document value t and fix defcustom (bug#6597). |
Date: |
Thu, 22 Jul 2010 14:15:31 +0200 |
User-agent: |
Bazaar (2.0.3) |
------------------------------------------------------------
revno: 100865
committer: Juanma Barranquero <address@hidden>
branch nick: trunk
timestamp: Thu 2010-07-22 14:15:31 +0200
message:
* dired.el (dired-no-confirm): Document value t and fix defcustom (bug#6597).
modified:
lisp/ChangeLog
lisp/dired.el
=== modified file 'lisp/ChangeLog'
--- a/lisp/ChangeLog 2010-07-22 11:54:27 +0000
+++ b/lisp/ChangeLog 2010-07-22 12:15:31 +0000
@@ -1,3 +1,8 @@
+2010-07-22 Juanma Barranquero <address@hidden>
+
+ * dired.el (dired-no-confirm): Document value t and fix defcustom to
+ accept it (bug#6597). Suggested by Drew Adams <address@hidden>.
+
2010-07-22 Teemu Likonen <address@hidden> (tiny change)
* dired.el (dired-mode-map): Use command remapping (bug#6632).
=== modified file 'lisp/dired.el'
--- a/lisp/dired.el 2010-07-22 11:54:27 +0000
+++ b/lisp/dired.el 2010-07-22 12:15:31 +0000
@@ -2763,17 +2763,19 @@
(fit-window-to-buffer (get-buffer-window buf) nil 1)))
(defcustom dired-no-confirm nil
- "A list of symbols for commands Dired should not confirm.
+ "A list of symbols for commands Dired should not confirm, or t.
Command symbols are `byte-compile', `chgrp', `chmod', `chown', `compress',
`copy', `delete', `hardlink', `load', `move', `print', `shell', `symlink',
-`touch' and `uncompress'."
+`touch' and `uncompress'.
+If t, confirmation is never needed."
:group 'dired
- :type '(set (const byte-compile) (const chgrp)
- (const chmod) (const chown) (const compress)
- (const copy) (const delete) (const hardlink)
- (const load) (const move) (const print)
- (const shell) (const symlink) (const touch)
- (const uncompress)))
+ :type '(choice (const :tag "Confirmation never needed" t)
+ (set (const byte-compile) (const chgrp)
+ (const chmod) (const chown) (const compress)
+ (const copy) (const delete) (const hardlink)
+ (const load) (const move) (const print)
+ (const shell) (const symlink) (const touch)
+ (const uncompress))))
(defun dired-mark-pop-up (bufname op-symbol files function &rest args)
"Return FUNCTION's result on ARGS after showing which files are marked.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] /srv/bzr/emacs/trunk r100865: * dired.el (dired-no-confirm): Document value t and fix defcustom (bug#6597).,
Juanma Barranquero <=