Load themes using `load', querying if theme file not known safe.
authorChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:19:55 +0000 (14:19 -0500)
committerChong Yidong <cyd@stupidchicken.com>
Sat, 8 Jan 2011 19:19:55 +0000 (14:19 -0500)
commit278f68456b8c25fff6d2274476cdc8ee3609f68b
treea3366a2afbb024409409486534f43e053e643039
parent3ef01959de6b49dc0db5a930154a6f915f7a2678
Load themes using `load', querying if theme file not known safe.

* custom.el (custom-safe-theme-files): New defcustom.
(custom-theme-load-confirm): New function.
(load-theme): Load theme using `load', confirming with
custom-theme-load-confirm if necessary.
etc/NEWS
lisp/ChangeLog
lisp/custom.el