emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Change stars as read-hide-char


From: Robert Pluim
Subject: Re: Change stars as read-hide-char
Date: Mon, 30 Jul 2018 10:01:20 +0200

Colin Baxter <address@hidden> writes:

> My apologies for posting here, I can't get posting rights at
> gmane.emacs.help. My `return-confirmation' emails get bounced at that
> news-group. 
>
> The development emacs-27 version recently changed the default character
> seen when entering a password from `.' to `*'. I want to get back to the
> old default, but
>
> (let (read-hide-char) "?.")
>

'let' specifies a list of variable bindings, and you want the
character '.', not a string containing '?' and '.', so itʼs:

(let ((read-hide-char ?. ))
     (message "%c" read-hide-char))

Robert



reply via email to

[Prev in Thread] Current Thread [Next in Thread]