aboutsummaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorTino Calancha2018-07-29 21:21:40 +0900
committerTino Calancha2018-07-29 21:21:40 +0900
commitb3f7e73fb76a366dc644ee2e6b9f4897c17d201d (patch)
treec77ba17c92d8bc2d4d615946b5b515fad5442896 /etc
parentea1cf0960a86bc373cfd4900f46d9fe5e847941e (diff)
downloademacs-b3f7e73fb76a366dc644ee2e6b9f4897c17d201d.tar.gz
emacs-b3f7e73fb76a366dc644ee2e6b9f4897c17d201d.zip
Prefer ?* to hide passwords
It might be argued that a hidden string is more legible when using ?* as the hidden character instead of ?. For example, the following strings have the same length: "......" "******" It's slighly easier to visually count the number of characters in the second string (Bug#32220). * lisp/subr.el (read-passwd): Prefer ?* as default char instead of ?. * doc/lispref/minibuf.texi (Reading a Password): Update manual. ; * etc/NEWS (Changes in Emacs 27.1): Announce the change.
Diffstat (limited to 'etc')
-rw-r--r--etc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/etc/NEWS b/etc/NEWS
index 089fc4053b1..31ccb447362 100644
--- a/etc/NEWS
+++ b/etc/NEWS
@@ -92,6 +92,9 @@ the new version of the file again.)
92 92
93* Changes in Emacs 27.1 93* Changes in Emacs 27.1
94 94
95+++
96** The function 'read-passwd' uses '*' as default character to hide passwords.
97
95--- 98---
96** New variable 'xft-ignore-color-fonts'. 99** New variable 'xft-ignore-color-fonts'.
97Default t means don't try to load color fonts when using Xft, as they 100Default t means don't try to load color fonts when using Xft, as they