On Sun, 23 Nov 2003 about 18:23 +0100 UTC Adrian Aichner wrote:
Hi Robert, the bad interaction is in
(defun backup-buffer ()
of files.el, right?
What about this there:
(defcustom delete-old-versions (if noninteractive 'leave)
Seems like a good defensive approach.
Please advise,
Adrian
I have run a few make installs with the following patch. The install runs
correctly, and there does not seem to be any collateral damage. This
diff -u patch may help others:
--- files.el.~1~ Wed Oct 15 05:30:46 2003
+++ files.el Tue Dec 2 06:20:06 2003
@@ -279,7 +279,7 @@
; :group 'backup
; :group 'dired)
-(defcustom delete-old-versions nil
+(defcustom delete-old-versions (if noninteractive 'leave)
"*If t, delete excess backup versions silently.
If nil, ask confirmation. Any other value prevents any trimming."
:type '(choice (const :tag "Delete" t)
--
rdr