diff options
| author | Eli Zaretskii | 2018-06-17 08:22:23 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2018-06-17 08:22:23 +0300 |
| commit | 85a1e2f9278381ea2d95102f8fddb20f8eb0da0c (patch) | |
| tree | 61fa9de57354e12148441eb591b371e2a2814ff9 | |
| parent | aabaa9f8c8b79df44887392fcaa199e17b016afd (diff) | |
| download | emacs-85a1e2f9278381ea2d95102f8fddb20f8eb0da0c.tar.gz emacs-85a1e2f9278381ea2d95102f8fddb20f8eb0da0c.zip | |
; * etc/NEWS: Tweak a recently-added NEWS entry.
| -rw-r--r-- | etc/NEWS | 23 |
1 files changed, 15 insertions, 8 deletions
| @@ -518,14 +518,21 @@ names" in the Tramp manual for full documentation of these facilities. | |||
| 518 | 518 | ||
| 519 | * Incompatible Lisp Changes in Emacs 27.1 | 519 | * Incompatible Lisp Changes in Emacs 27.1 |
| 520 | 520 | ||
| 521 | +++ | 521 | --- |
| 522 | ** Theme settings generally aren't actually applied until a call to | 522 | ** Just loading a theme's file no longer activates the theme's settings. |
| 523 | `enable-theme-, either one made explicitly or implicitly through | 523 | Loading a theme with 'M-x load-theme' still activates the theme, as it |
| 524 | `load-theme' with NO-ENABLE nil. This change has the effect of not | 524 | did before. However, loading the theme's file with "M-x load-file", |
| 525 | applying theme changes just because we load a lisp file containing a | 525 | or using 'require' or 'load' in a Lisp program, doesn't actually apply |
| 526 | theme specification. The previous behavior is preserved for the | 526 | the theme's settings until you either invoke 'M-x enable-theme' or |
| 527 | special case of the `user' theme, which is frequently used for | 527 | type 'M-x load-theme'. (In a Lisp program, calling 'enable-theme' or |
| 528 | ad-hoc customization. | 528 | invoking 'load-theme' with NO-ENABLE argument omitted or nil has the |
| 529 | same effect of activating a theme whose file has been loaded.) The | ||
| 530 | special case of the 'user' theme is an exception: it is frequently | ||
| 531 | used for ad-hoc customizations, so the settings of that theme are by | ||
| 532 | default applied immediately. | ||
| 533 | |||
| 534 | The variable 'custom--inhibit-theme-enable' controls this behavior; | ||
| 535 | its default value changed in Emacs 27.1. | ||
| 529 | 536 | ||
| 530 | ** The 'repetitions' argument of 'benchmark-run' can now also be a variable. | 537 | ** The 'repetitions' argument of 'benchmark-run' can now also be a variable. |
| 531 | ** The FILENAME argument to 'file-name-base' is now mandatory and no | 538 | ** The FILENAME argument to 'file-name-base' is now mandatory and no |