summaryrefslogtreecommitdiff
path: root/lisp/ChangeLog
diff options
context:
space:
mode:
authorChong Yidong <cyd@stupidchicken.com>2011-01-08 14:19:55 -0500
committerChong Yidong <cyd@stupidchicken.com>2011-01-08 14:19:55 -0500
commit278f68456b8c25fff6d2274476cdc8ee3609f68b (patch)
treea3366a2afbb024409409486534f43e053e643039 /lisp/ChangeLog
parent3ef01959de6b49dc0db5a930154a6f915f7a2678 (diff)
downloademacs-278f68456b8c25fff6d2274476cdc8ee3609f68b.tar.gz
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.
Diffstat (limited to 'lisp/ChangeLog')
-rw-r--r--lisp/ChangeLog5
1 files changed, 5 insertions, 0 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 0f84b977d56..86f9e8fa0b9 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,5 +1,10 @@
2011-01-08 Chong Yidong <cyd@stupidchicken.com>
+ * 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.
+
* subr.el (read-char-choice): New function, factored out from
dired-query and hack-local-variables-confirm.