From db4a79ae0bd8b80655167c47aeaabc81561720e0 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Sun, 9 May 1999 00:44:50 +0000 Subject: [PATCH] (comint-password-prompt-regexp): Fix last change to be more specific. --- lisp/comint.el | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lisp/comint.el b/lisp/comint.el index e56cb259283..bc4eec04892 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -280,7 +280,8 @@ This variable is buffer-local." ;; AIX puts the name of the person being su'd to in front of the prompt. ;; kinit prints a prompt like `Password for devnull@GNU.ORG: '. (defcustom comint-password-prompt-regexp - "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\).*:\\s *\\'" + "\\(\\([Oo]ld \\|[Nn]ew \\|'s \\|login \\|^\\)[Pp]assword\\|pass phrase\\)\ +\\( for [^@ \t\n]+@[^@ \t\n]+\\)?:\\s *\\'" "*Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :type 'regexp -- 2.39.2