summaryrefslogtreecommitdiff
path: root/lisp/comint.el
diff options
context:
space:
mode:
authorGlenn Morris <rgm@gnu.org>2013-05-18 12:38:35 -0700
committerGlenn Morris <rgm@gnu.org>2013-05-18 12:38:35 -0700
commit8051fccd4636dd0e7547c1f012e0447ed31ccbea (patch)
tree30d85175c0501eefd3e8a1f69e5413cd66f47b82 /lisp/comint.el
parent6b56a60ae870938885665e211b97df929d6fb85b (diff)
downloademacs-8051fccd4636dd0e7547c1f012e0447ed31ccbea.tar.gz
comint-password-prompt-regexp tweak
Ref: http://lists.gnu.org/archive/html/emacs-devel/2013-05/msg00401.html * lisp/comint.el (comint-password-prompt-regexp): Allow "password for XXX" where XXX contains colons (eg https://...).
Diffstat (limited to 'lisp/comint.el')
-rw-r--r--lisp/comint.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index 956e8f86ccb..5680b9aaa2a 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -351,7 +351,7 @@ This variable is buffer-local."
'("password" "Password" "passphrase" "Passphrase"
"pass phrase" "Pass phrase" "Response"))
"\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?\
-\\(?: for [^:]+\\)?:\\s *\\'")
+\\(?: for .+\\)?:\\s *\\'")
"Regexp matching prompts for passwords in the inferior process.
This is used by `comint-watch-for-password-prompt'."
:version "24.1"