diff options
author | Mat Marcus <mat@emarcus.org> | 2011-02-14 13:29:00 -0800 |
---|---|---|
committer | Mat Marcus <mat@emarcus.org> | 2011-02-14 13:29:00 -0800 |
commit | 33629aebf671f21f2564d2328627f3de03b0543d (patch) | |
tree | f5dc988541897732316e36da86c406472edef144 /initsplit.el | |
parent | 9a4d5dcb64a14e53c794cfb345a4276dacd333aa (diff) |
Prevent duplicate writes: if customization is written to specific file, don't write to more general file
Diffstat (limited to 'initsplit.el')
-rw-r--r-- | initsplit.el | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/initsplit.el b/initsplit.el index 16fbace..2530256 100644 --- a/initsplit.el +++ b/initsplit.el @@ -2,6 +2,7 @@ ;; Copyright (C) 2000, 2001 John Wiegley ;; Copyright (C) 2010 Dave Abrahams +;; Copyright (C) 2011 Mat Marcus ;; Author: John Wiegley <johnw@gnu.org>, Dave Abrahams <dave@boostpro.com> ;; Created: 8 Feb 2000 @@ -239,7 +240,8 @@ multiple files per (initsplit-custom-alist)" (string-match (car s) (symbol-name symbol))) (progn (put symbol 'saved-value (get symbol 'initsplit-saved-value)) - (put symbol 'saved-face (get symbol 'initsplit-saved-face))) + (put symbol 'saved-face (get symbol 'initsplit-saved-face)) + (put symbol 'initsplit-unsaved-p nil)) (put symbol 'saved-value nil) (put symbol 'saved-face nil)))) |