diff options
author | Glenn Morris <rgm@gnu.org> | 2017-04-28 16:17:27 -0400 |
---|---|---|
committer | Glenn Morris <rgm@gnu.org> | 2017-04-28 16:17:27 -0400 |
commit | 6a3f331565322b43c41fdf67c6d2dc3feac8cc1c (patch) | |
tree | d378ee149aed0c5d67f063e44f540ccd0ef80127 /lisp | |
parent | 7e66aa48c48d759cf4cc37ed2f761b780da90699 (diff) | |
download | emacs-6a3f331565322b43c41fdf67c6d2dc3feac8cc1c.tar.gz emacs-6a3f331565322b43c41fdf67c6d2dc3feac8cc1c.tar.bz2 emacs-6a3f331565322b43c41fdf67c6d2dc3feac8cc1c.zip |
Broaden comint-password-prompt-regexp
* lisp/comint.el (comint-password-prompt-regexp):
Broaden the regexp, for non-English locales. (Bug#26698)
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 a01ecd3dbf7..51b659167d5 100644 --- a/lisp/comint.el +++ b/lisp/comint.el @@ -362,7 +362,8 @@ This variable is buffer-local." " +\\)" "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" - "\\(?: for .+\\)?[::៖]\\s *\\'") + ;; "[[:alpha:]]" used to be "for", which fails to match non-English. + "\\(?: [[:alpha:]]+ .+\\)?[::៖]\\s *\\'") "Regexp matching prompts for passwords in the inferior process. This is used by `comint-watch-for-password-prompt'." :version "26.1" |