diff options
Diffstat (limited to 'doc')
| -rw-r--r-- | doc/lispref/ChangeLog | 3 | ||||
| -rw-r--r-- | doc/lispref/customize.texi | 11 |
2 files changed, 14 insertions, 0 deletions
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog index 07d153ed80e..af09f4371f9 100644 --- a/doc/lispref/ChangeLog +++ b/doc/lispref/ChangeLog | |||
| @@ -1,5 +1,8 @@ | |||
| 1 | 2013-12-18 Chong Yidong <cyd@gnu.org> | 1 | 2013-12-18 Chong Yidong <cyd@gnu.org> |
| 2 | 2 | ||
| 3 | * customize.texi (Custom Themes): Document custom-known-themes | ||
| 4 | (Bug#15717). | ||
| 5 | |||
| 3 | * modes.texi (Defining Minor Modes): Fix typo (Bug#14874). | 6 | * modes.texi (Defining Minor Modes): Fix typo (Bug#14874). |
| 4 | (Keymaps and Minor Modes): Fix binding convention (Bug#11522). | 7 | (Keymaps and Minor Modes): Fix binding convention (Bug#11522). |
| 5 | 8 | ||
diff --git a/doc/lispref/customize.texi b/doc/lispref/customize.texi index e9260309057..e895fe34e53 100644 --- a/doc/lispref/customize.texi +++ b/doc/lispref/customize.texi | |||
| @@ -1428,6 +1428,17 @@ loaded into Emacs, whether or not the theme is enabled). Otherwise, | |||
| 1428 | it returns @code{nil}. | 1428 | it returns @code{nil}. |
| 1429 | @end defun | 1429 | @end defun |
| 1430 | 1430 | ||
| 1431 | @defvar custom-known-themes | ||
| 1432 | The value of this variable is a list of themes loaded into Emacs. | ||
| 1433 | Each theme is represented by a Lisp symbol (the theme name). The | ||
| 1434 | default value of this variable is a list containing two ``dummy'' | ||
| 1435 | themes: @code{(user changed)}. The @code{changed} theme stores | ||
| 1436 | settings made before any Custom themes are applied (e.g., variables | ||
| 1437 | set outside of Customize). The @code{user} theme stores settings the | ||
| 1438 | user has customized and saved. Any additional themes declared with | ||
| 1439 | the @code{deftheme} macro are added to the front of this list. | ||
| 1440 | @end defvar | ||
| 1441 | |||
| 1431 | @deffn Command load-theme theme &optional no-confirm no-enable | 1442 | @deffn Command load-theme theme &optional no-confirm no-enable |
| 1432 | This function loads the Custom theme named @var{theme} from its source | 1443 | This function loads the Custom theme named @var{theme} from its source |
| 1433 | file, looking for the source file in the directories specified by the | 1444 | file, looking for the source file in the directories specified by the |