aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorChong Yidong2011-01-08 23:59:56 -0500
committerChong Yidong2011-01-08 23:59:56 -0500
commitb7617f6d8b78434a5b208df8a17a8cf8d68b4d7c (patch)
tree12e6a004cb8912d03b80f7695b21f701569bce2b /etc
parent900503ae7959dc465c3897f3deafd55e09a93ee3 (diff)
downloademacs-b7617f6d8b78434a5b208df8a17a8cf8d68b4d7c.tar.gz
emacs-b7617f6d8b78434a5b208df8a17a8cf8d68b4d7c.zip
Record "safe themes" as sha1 hashes, as suggested by Stefan Monnier.
* lisp/custom.el (custom-safe-themes): Rename from custom-safe-theme-files. Add :risky tag. (load-theme, custom-theme-load-confirm): Save sha1 hashes to custom-safe-themes, not filenames. Suggested by Stefan Monnier.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS7
1 files changed, 4 insertions, 3 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 0fd74252601..2db17e550d0 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -219,9 +219,10 @@ Emacs no longer looks for custom themes in `load-path'. The default
219is to search in `custom-theme-directory', followed by a built-in theme 219is to search in `custom-theme-directory', followed by a built-in theme
220directory named "themes/" in `data-directory'. 220directory named "themes/" in `data-directory'.
221 221
222*** New option `custom-safe-theme-files' lists known-safe theme files. 222*** New option `custom-safe-themes' records known-safe theme files.
223If a theme is not in this list, Emacs queries before loading it. 223If a theme is not in this list, Emacs queries before loading it, and
224The default value treats all themes included in Emacs as safe. 224offers to save the theme to `custom-safe-themes' automatically. By
225default, all themes included in Emacs are treated as safe.
225 226
226** The user option `remote-file-name-inhibit-cache' controls whether 227** The user option `remote-file-name-inhibit-cache' controls whether
227the remote file-name cache is used for read access. 228the remote file-name cache is used for read access.