diff options
author | Karl Heuer <kwzh@gnu.org> | 1999-05-09 00:44:50 +0000 |
---|---|---|
committer | Karl Heuer <kwzh@gnu.org> | 1999-05-09 00:44:50 +0000 |
commit | db4a79ae0bd8b80655167c47aeaabc81561720e0 (patch) | |
tree | bdc2873aa517b992bf5badc392abd3e9ae354216 /lisp | |
parent | aadf7ff324d103269e56ed16a0e912f3789e1397 (diff) | |
download | emacs-db4a79ae0bd8b80655167c47aeaabc81561720e0.tar.gz emacs-db4a79ae0bd8b80655167c47aeaabc81561720e0.tar.bz2 emacs-db4a79ae0bd8b80655167c47aeaabc81561720e0.zip |
(comint-password-prompt-regexp): Fix last change to be more specific.
Diffstat (limited to 'lisp')
-rw-r--r-- | lisp/comint.el | 3 |
1 files changed, 2 insertions, 1 deletions
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 |