From 4e60b1b66c943ba03bb36897c4df5012c068ffd4 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 17 Nov 2007 10:53:32 +0000 Subject: [PATCH] (eshell-load-defgroups): Don't make backups when saving esh-groups.el. --- lisp/ChangeLog | 5 +++++ lisp/eshell/esh-module.el | 4 +++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 285a69d66a5..635ec685fdc 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,8 @@ +2007-11-17 Eli Zaretskii + + * eshell/esh-module.el (eshell-load-defgroups): Don't make backups + when saving esh-groups.el. + 2007-11-17 Martin Rudalics * wid-edit.el (widget-default-complete): diff --git a/lisp/eshell/esh-module.el b/lisp/eshell/esh-module.el index 17067197909..4ae741a9e66 100644 --- a/lisp/eshell/esh-module.el +++ b/lisp/eshell/esh-module.el @@ -68,7 +68,9 @@ customizing the variable `eshell-modules-list'." (if defgroup (insert defgroup "\n\n"))) (setq files (cdr files)))) - (save-buffer)))) + ;; Don't make backups, to avoid prompting the user if there are + ;; excess backup versions. + (save-buffer 0)))) ;; load the defgroup's for the standard extension modules, so that ;; documentation can be provided when the user customize's -- 2.39.2