summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCharles A. Roelli <charles@aurox.ch>2018-10-03 19:59:34 +0200
committerCharles A. Roelli <charles@aurox.ch>2018-10-03 20:00:13 +0200
commitac3622c81acb93fa340a1e0e73188b1587b3970a (patch)
tree1d0b0d4b25cfdb7d9cf76ae03187f8528a5d2e0f /src
parent99f45ee42c5554d606407f6da37700e9bf86bd35 (diff)
downloademacs-ac3622c81acb93fa340a1e0e73188b1587b3970a.tar.gz
Improve documentation of 'read-hide-char'
* src/minibuf.c (syms_of_minibuf) <Vread_hide_char>: Clarify documentation and mention where else the variable is used. * doc/lispref/minibuf.texi (Reading a Password): Add an index entry for 'read-hide-char'.
Diffstat (limited to 'src')
-rw-r--r--src/minibuf.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/minibuf.c b/src/minibuf.c
index 691fad07b79..f1bde913fc9 100644
--- a/src/minibuf.c
+++ b/src/minibuf.c
@@ -2107,8 +2107,11 @@ properties. */);
DEFVAR_LISP ("read-hide-char", Vread_hide_char,
doc: /* Whether to hide input characters in noninteractive mode.
-It must be a character, which will be used to mask the input
-characters. This variable should never be set globally. */);
+If non-nil, it must be a character, which will be used to mask the
+input characters. This variable should never be set globally.
+
+This variable also overrides the default character that `read-passwd'
+uses to hide passwords. */);
Vread_hide_char = Qnil;
defsubr (&Sactive_minibuffer_window);