Mercurial > emacs
comparison etc/NEWS @ 112164:afa244de82cd
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.
author | Chong Yidong <cyd@stupidchicken.com> |
---|---|
date | Sat, 08 Jan 2011 14:19:55 -0500 |
parents | b30a0deacfdf |
children | 2b3091d14255 |
comparison
equal
deleted
inserted
replaced
112163:b30a0deacfdf | 112164:afa244de82cd |
---|---|
216 | 216 |
217 *** New option `custom-theme-load-path' is the load path for themes. | 217 *** New option `custom-theme-load-path' is the load path for themes. |
218 Emacs no longer looks for custom themes in `load-path'. The default | 218 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 | |
222 *** New option `custom-safe-theme-files' lists known-safe theme files. | |
223 If a theme is not in this list, Emacs queries before loading it. | |
224 The default value treats all themes included in Emacs as safe. | |
221 | 225 |
222 ** The user option `remote-file-name-inhibit-cache' controls whether | 226 ** The user option `remote-file-name-inhibit-cache' controls whether |
223 the remote file-name cache is used for read access. | 227 the remote file-name cache is used for read access. |
224 | 228 |
225 ** The standalone programs lib-src/digest-doc and sorted-doc have been | 229 ** The standalone programs lib-src/digest-doc and sorted-doc have been |