diff options
| author | Glenn Morris | 2017-04-28 16:17:27 -0400 |
|---|---|---|
| committer | Glenn Morris | 2017-04-28 16:17:27 -0400 |
| commit | 6a3f331565322b43c41fdf67c6d2dc3feac8cc1c (patch) | |
| tree | d378ee149aed0c5d67f063e44f540ccd0ef80127 | |
| parent | 7e66aa48c48d759cf4cc37ed2f761b780da90699 (diff) | |
| download | emacs-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.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." | |||
| 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. |
| 367 | This is used by `comint-watch-for-password-prompt'." | 368 | This is used by `comint-watch-for-password-prompt'." |
| 368 | :version "26.1" | 369 | :version "26.1" |