]> code.delx.au - gnu-emacs/commit
Avoid calling customize-save-variable during startup (Bug#8720).
authorChong Yidong <cyd@stupidchicken.com>
Thu, 30 Jun 2011 01:39:52 +0000 (21:39 -0400)
committerChong Yidong <cyd@stupidchicken.com>
Thu, 30 Jun 2011 01:39:52 +0000 (21:39 -0400)
commit658d8eb8fceb1d5f0f7a71c4f7145dd43b78081b
treefac3229b9f3f5ed01817341dfa23a295c0c0937d
parent732b9594ceab70733e55dba8dec85e7def3824b0
Avoid calling customize-save-variable during startup (Bug#8720).

* lisp/cus-edit.el (customize-push-and-save): New function.

* lisp/files.el (hack-local-variables-confirm): Use it.

* lisp/custom.el (load-theme): New arg NO-CONFIRM.  Use
customize-push-and-save (Bug#8720).
(custom-enabled-themes): Doc fix.

* lisp/cus-theme.el (customize-create-theme)
(custom-theme-merge-theme): Callers to load-theme changed.
lisp/ChangeLog
lisp/cus-edit.el
lisp/cus-theme.el
lisp/custom.el
lisp/files.el