From: Karl Heuer Date: Sun, 9 May 1999 00:44:50 +0000 (+0000) Subject: (comint-password-prompt-regexp): Fix last change to be more specific. X-Git-Tag: emacs-20.4~249 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=db4a79ae0bd8b80655167c47aeaabc81561720e0;p=emacs.git (comint-password-prompt-regexp): Fix last change to be more specific. --- 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