diff options
author | Chong Yidong <cyd@stupidchicken.com> | 2010-10-19 15:22:40 -0400 |
---|---|---|
committer | Chong Yidong <cyd@stupidchicken.com> | 2010-10-19 15:22:40 -0400 |
commit | 7fd8732d2e6f45077fe496bc36838b1b86a3171d (patch) | |
tree | 90b73316383bef93c65d004899977fdacf7434d4 /lisp/cus-face.el | |
parent | 3f12b18cb57c5cb2a11706ba87fdbb20aa0d6301 (diff) | |
download | emacs-7fd8732d2e6f45077fe496bc36838b1b86a3171d.tar.gz |
Revert 2010-10-18 change; use safe-functions instead.
* cus-face.el (custom-theme-set-faces): Revert 2010-10-18 change.
Don't mark as safe.
* custom.el (custom-theme-set-variables): Likewise.
(load-theme): Add custom-theme-set-faces and
custom-theme-set-variables to safe-functions while loading.
(custom-enabled-themes): Mark as risky.
Diffstat (limited to 'lisp/cus-face.el')
-rw-r--r-- | lisp/cus-face.el | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lisp/cus-face.el b/lisp/cus-face.el index fd6db787d32..ebb20012afa 100644 --- a/lisp/cus-face.el +++ b/lisp/cus-face.el @@ -349,8 +349,6 @@ FACE's list property `theme-face' \(using `custom-push-theme')." (put face 'face-override-spec nil) (face-spec-set face spec t)))))))) -(put 'custom-theme-set-faces 'safe-function t) - ;; XEmacs compability function. In XEmacs, when you reset a Custom ;; Theme, you have to specify the theme to reset it to. We just apply ;; the next theme. |