diff lisp/comint.el @ 108969:cdae067c62d3

Fix for comint-password-prompt-regexp (Bug#6367). * lisp/comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change (Bug#6367). * comint-testsuite.el: New file.
author Chong Yidong <cyd@stupidchicken.com>
date Fri, 11 Jun 2010 10:39:54 -0400
parents bd3afd9376c5
children 60516122d066
line wrap: on
line diff
--- a/lisp/comint.el	Fri Jun 11 14:28:41 2010 +0100
+++ b/lisp/comint.el	Fri Jun 11 10:39:54 2010 -0400
@@ -340,7 +340,7 @@
 ;; Something called "perforce" uses "Enter password:".
 (defcustom comint-password-prompt-regexp
   (concat
-   "^\\("
+   "\\("
    (regexp-opt
     '("Enter" "Enter same" "Old" "old" "New" "new" "'s" "login"
       "Kerberos" "CVS" "UNIX" " SMB" "LDAP" "[sudo]" "Repeat" "Bad"))