aboutsummaryrefslogtreecommitdiffstats
path: root/lisp
diff options
context:
space:
mode:
authorChong Yidong <[email protected]>2010-06-11 10:39:54 -0400
committerChong Yidong <[email protected]>2010-06-11 10:39:54 -0400
commit6534e58a57f60d338491ca97db605cbb116f0c2f (patch)
tree63f39d89c5cdb563c67a5d8a2599c3371296ed87 /lisp
parent84d9562f579e56ce7bdf9c14b37ab0fa1f596681 (diff)
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.
Diffstat (limited to 'lisp')
-rw-r--r--lisp/ChangeLog5
-rw-r--r--lisp/comint.el2
2 files changed, 6 insertions, 1 deletions
diff --git a/lisp/ChangeLog b/lisp/ChangeLog
index 9584d1ed75..d94489a20d 100644
--- a/lisp/ChangeLog
+++ b/lisp/ChangeLog
@@ -1,3 +1,8 @@
+2010-06-11 Chong Yidong <[email protected]>
+
+ * comint.el (comint-password-prompt-regexp): Fix 2010-04-10 change
+ (Bug#6367).
+
2010-06-11 Stephen Eglen <[email protected]>
* shell.el: Bind `shell-resync-dirs' to M-RET.
diff --git a/lisp/comint.el b/lisp/comint.el
index fd3cff3b5f..b097baad18 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -340,7 +340,7 @@ This variable is buffer-local."
;; 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"))