From e5b7fee62abb89e37e8cb805d5476b4f2d5d599d Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Fri, 4 Nov 2005 15:25:12 +0000 Subject: [PATCH] (Shell Mode): Describe how to activate password echoing. --- man/misc.texi | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/man/misc.texi b/man/misc.texi index 57a58fd1d3a..14dadbfc9d7 100644 --- a/man/misc.texi +++ b/man/misc.texi @@ -645,12 +645,13 @@ 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 - 'comint-watch-for-password-prompt) +(remove-hook 'comint-output-filter-functions + 'comint-watch-for-password-prompt) @end example @item M-x comint-continue-subjob -- 2.39.2