Commit e5b7fee6 authored by Eli Zaretskii's avatar Eli Zaretskii
Browse files

(Shell Mode): Describe how to activate password echoing.

parent c97f3d3c
......@@ -645,11 +645,12 @@ Send @var{text} as input to the shell, after reading it without
echoing. This is useful when a shell command runs a program that asks
for a password.
Alternatively, you can arrange for Emacs to notice password prompts
and turn off echoing for them, as follows:
Please note that Emacs will not echo passwords by default. If you
really want them to be echoed, evaluate the following Lisp
expression:
@example
(add-hook 'comint-output-filter-functions
(remove-hook 'comint-output-filter-functions
'comint-watch-for-password-prompt)
@end example
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment