summaryrefslogtreecommitdiff
path: root/initsplit.el
diff options
context:
space:
mode:
authorDave Abrahams <dave@boostpro.com>2014-02-03 04:41:53 -0800
committerDave Abrahams <dave@boostpro.com>2014-02-03 04:41:53 -0800
commit401a0c7d00c1cac4d0d7d4ecd3fbf003cfe7f18c (patch)
tree35022be770ea2356518136b7c9d6e40c742d8239 /initsplit.el
parent3a637131808810fb29fafd03cd689be6eb237586 (diff)
Suppress auto-insert when saving customizations
If the user has auto-insert enabled, it can kick in when saving customization files, which is a pain because it can require user interaction. Let’s not do that.
Diffstat (limited to 'initsplit.el')
-rw-r--r--initsplit.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/initsplit.el b/initsplit.el
index 6d7a3fb..9e45b84 100644
--- a/initsplit.el
+++ b/initsplit.el
@@ -338,7 +338,8 @@ multiple files per (initsplit-custom-alist)"
;; For each customization file whose contents are known, save
;; appropriate symbols
(dolist (s (initsplit-known-file-alist))
- (let ((custom-file (file-truename (initsplit-filename s))))
+ (let ((custom-file (file-truename (initsplit-filename s)))
+ (auto-insert nil))
;; As-yet-unsaved symbols that match the regexp
;; get a saved-value/face property. Others get nil.