aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2017-04-28 16:17:27 -0400
committerGlenn Morris2017-04-28 16:17:27 -0400
commit6a3f331565322b43c41fdf67c6d2dc3feac8cc1c (patch)
treed378ee149aed0c5d67f063e44f540ccd0ef80127
parent7e66aa48c48d759cf4cc37ed2f761b780da90699 (diff)
downloademacs-6a3f331565322b43c41fdf67c6d2dc3feac8cc1c.tar.gz
emacs-6a3f331565322b43c41fdf67c6d2dc3feac8cc1c.zip
Broaden comint-password-prompt-regexp
* lisp/comint.el (comint-password-prompt-regexp): Broaden the regexp, for non-English locales. (Bug#26698)
-rw-r--r--lisp/comint.el3
1 files changed, 2 insertions, 1 deletions
diff --git a/lisp/comint.el b/lisp/comint.el
index a01ecd3dbf7..51b659167d5 100644
--- a/lisp/comint.el
+++ b/lisp/comint.el
@@ -362,7 +362,8 @@ This variable is buffer-local."
362 " +\\)" 362 " +\\)"
363 "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" 363 "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)"
364 "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" 364 "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?"
365 "\\(?: for .+\\)?[::៖]\\s *\\'") 365 ;; "[[:alpha:]]" used to be "for", which fails to match non-English.
366 "\\(?: [[:alpha:]]+ .+\\)?[::៖]\\s *\\'")
366 "Regexp matching prompts for passwords in the inferior process. 367 "Regexp matching prompts for passwords in the inferior process.
367This is used by `comint-watch-for-password-prompt'." 368This is used by `comint-watch-for-password-prompt'."
368 :version "26.1" 369 :version "26.1"