diff options
| author | Tino Calancha | 2018-07-29 21:21:40 +0900 |
|---|---|---|
| committer | Tino Calancha | 2018-07-29 21:21:40 +0900 |
| commit | b3f7e73fb76a366dc644ee2e6b9f4897c17d201d (patch) | |
| tree | c77ba17c92d8bc2d4d615946b5b515fad5442896 /etc | |
| parent | ea1cf0960a86bc373cfd4900f46d9fe5e847941e (diff) | |
| download | emacs-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/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
| @@ -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'. |
| 97 | Default t means don't try to load color fonts when using Xft, as they | 100 | Default t means don't try to load color fonts when using Xft, as they |