changeset 66708:24b48f5420b7

(Shell Mode): Describe how to activate password echoing.
author Eli Zaretskii <eliz@gnu.org>
date Fri, 04 Nov 2005 15:25:12 +0000
parents 8ca1d09ed4d4
children 42f56a1d963b
files man/misc.texi
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/man/misc.texi	Fri Nov 04 15:22:14 2005 +0000
+++ b/man/misc.texi	Fri Nov 04 15:25:12 2005 +0000
@@ -645,12 +645,13 @@
 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