summaryrefslogtreecommitdiff
path: root/lisp/dired-aux.el
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1997-05-28 04:22:11 +0000
committerRichard M. Stallman <rms@gnu.org>1997-05-28 04:22:11 +0000
commit91a7e82925b5998046904617c0b826b107a8352b (patch)
treed348316e21c9652c82c9c30d946d51c3f25c0ca2 /lisp/dired-aux.el
parentd03b8a2d0024137e41aface68496c27cf629b14b (diff)
downloademacs-91a7e82925b5998046904617c0b826b107a8352b.tar.gz
Customize.
Diffstat (limited to 'lisp/dired-aux.el')
-rw-r--r--lisp/dired-aux.el8
1 files changed, 6 insertions, 2 deletions
diff --git a/lisp/dired-aux.el b/lisp/dired-aux.el
index e3cc10d54b7..5c7c1a232a3 100644
--- a/lisp/dired-aux.el
+++ b/lisp/dired-aux.el
@@ -926,9 +926,13 @@ a prefix arg lets you edit the `ls' switches used for the new listing."
;;; Copy, move/rename, making hard and symbolic links
-(defvar dired-backup-overwrite nil
+(defcustom dired-backup-overwrite nil
"*Non-nil if Dired should ask about making backups before overwriting files.
-Special value `always' suppresses confirmation.")
+Special value `always' suppresses confirmation."
+ :type '(choice (const :tag "off" nil)
+ (const :tag "suppress" always)
+ (sexp :tag "ask" :format "%t\n" t))
+ :group 'dired)
(defvar dired-overwrite-confirmed)