aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorFederico Tedin2019-01-15 22:08:15 -0300
committerEli Zaretskii2019-03-01 10:36:59 +0200
commit63d0dc7937bddd803145f2df23a600597c4fd8e7 (patch)
tree688dec6e5162e5d6ee4fbd6b346e96014a41e9b4 /etc
parent44b7436d4408ddfb72c1758d60395872791ae00d (diff)
downloademacs-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/NEWS7
1 files changed, 7 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 683a4279a35..29ed7ab4819 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -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.
150The threshold for color distance below which the 'distant-foreground'
151color of the face will be used instead of the foreground color can now
152be controlled via the new variable 'face-near-same-color-threshold'.
153The 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