diff options
| author | Federico Tedin | 2019-01-15 22:08:15 -0300 |
|---|---|---|
| committer | Eli Zaretskii | 2019-03-01 10:36:59 +0200 |
| commit | 63d0dc7937bddd803145f2df23a600597c4fd8e7 (patch) | |
| tree | 688dec6e5162e5d6ee4fbd6b346e96014a41e9b4 /etc | |
| parent | 44b7436d4408ddfb72c1758d60395872791ae00d (diff) | |
| download | emacs-63d0dc7937bddd803145f2df23a600597c4fd8e7.tar.gz emacs-63d0dc7937bddd803145f2df23a600597c4fd8e7.zip | |
Allow control on the threshold for using 'distant-foreground'
* src/xfaces.c (NEAR_SAME_COLOR_THRESHOLD): Macro deleted.
(load_face_colors): Compare against
face_near_same_color_threshold instead of
NEAR_SAME_COLOR_THRESHOLD.
(syms_of_xfaces) <face-near-same-color-threshold>: New
variable. (Bug#34001)
* etc/NEWS: Announce the change.
Diffstat (limited to 'etc')
| -rw-r--r-- | etc/NEWS | 7 |
1 files changed, 7 insertions, 0 deletions
| @@ -145,6 +145,13 @@ EMACS_SOCKET_NAME environment variable to an appropriate value. | |||
| 145 | *** When run by root, emacsclient no longer connects to non-root sockets. | 145 | *** When run by root, emacsclient no longer connects to non-root sockets. |
| 146 | (Instead you can use Tramp methods to run root commands in a non-root Emacs.) | 146 | (Instead you can use Tramp methods to run root commands in a non-root Emacs.) |
| 147 | 147 | ||
| 148 | --- | ||
| 149 | ** Control of the threshold for using the 'distant-foreground' color. | ||
| 150 | The threshold for color distance below which the 'distant-foreground' | ||
| 151 | color of the face will be used instead of the foreground color can now | ||
| 152 | be controlled via the new variable 'face-near-same-color-threshold'. | ||
| 153 | The default value is 30000, as the previously hard-coded threshold. | ||
| 154 | |||
| 148 | +++ | 155 | +++ |
| 149 | ** The function 'read-passwd' uses '*' as default character to hide passwords. | 156 | ** The function 'read-passwd' uses '*' as default character to hide passwords. |
| 150 | 157 | ||