diff options
| author | Chong Yidong | 2011-01-08 23:59:56 -0500 |
|---|---|---|
| committer | Chong Yidong | 2011-01-08 23:59:56 -0500 |
| commit | b7617f6d8b78434a5b208df8a17a8cf8d68b4d7c (patch) | |
| tree | 12e6a004cb8912d03b80f7695b21f701569bce2b /etc | |
| parent | 900503ae7959dc465c3897f3deafd55e09a93ee3 (diff) | |
| download | emacs-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/NEWS | 7 |
1 files changed, 4 insertions, 3 deletions
| @@ -219,9 +219,10 @@ Emacs no longer looks for custom themes in `load-path'. The default | |||
| 219 | is to search in `custom-theme-directory', followed by a built-in theme | 219 | is to search in `custom-theme-directory', followed by a built-in theme |
| 220 | directory named "themes/" in `data-directory'. | 220 | directory 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. |
| 223 | If a theme is not in this list, Emacs queries before loading it. | 223 | If a theme is not in this list, Emacs queries before loading it, and |
| 224 | The default value treats all themes included in Emacs as safe. | 224 | offers to save the theme to `custom-safe-themes' automatically. By |
| 225 | default, 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 |
| 227 | the remote file-name cache is used for read access. | 228 | the remote file-name cache is used for read access. |