diff options
| author | Ian Johnson | 2017-12-22 16:11:00 +0200 |
|---|---|---|
| committer | Eli Zaretskii | 2017-12-22 16:11:00 +0200 |
| commit | 2b6912c3d1ca99719c9eb6efb5eb1e7986ad280d (patch) | |
| tree | ec8b638d32a118b156f03882d590114ccf7b421d | |
| parent | ebe91f6026edf54d5de936d3d6b696d5c76ef705 (diff) | |
| download | emacs-2b6912c3d1ca99719c9eb6efb5eb1e7986ad280d.tar.gz emacs-2b6912c3d1ca99719c9eb6efb5eb1e7986ad280d.zip | |
Support French password prompts in shell
French punctuation rules require a space (preferably non-breaking)
before the colon.
* lisp/comint.el (comint-password-prompt-regexp): Support
spaces (including non-breaking spaces) before and after password
prompt colon. (Bug#29729)
Copyright-paperwork-exempt: yes
| -rw-r--r-- | lisp/comint.el | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lisp/comint.el b/lisp/comint.el index 5ee4e48d636..430e83888c2 100644 --- a/lisp/comint.el +++ b/lisp/comint.el | |||
| @@ -364,10 +364,10 @@ This variable is buffer-local." | |||
| 364 | "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" | 364 | "\\(?:" (regexp-opt password-word-equivalents) "\\|Response\\)" |
| 365 | "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" | 365 | "\\(?:\\(?:, try\\)? *again\\| (empty for no passphrase)\\| (again)\\)?" |
| 366 | ;; "[[:alpha:]]" used to be "for", which fails to match non-English. | 366 | ;; "[[:alpha:]]" used to be "for", which fails to match non-English. |
| 367 | "\\(?: [[:alpha:]]+ .+\\)?[::៖]\\s *\\'") | 367 | "\\(?: [[:alpha:]]+ .+\\)?[\\s ]*[::៖][\\s ]*\\'") |
| 368 | "Regexp matching prompts for passwords in the inferior process. | 368 | "Regexp matching prompts for passwords in the inferior process. |
| 369 | This is used by `comint-watch-for-password-prompt'." | 369 | This is used by `comint-watch-for-password-prompt'." |
| 370 | :version "26.1" | 370 | :version "27.1" |
| 371 | :type 'regexp | 371 | :type 'regexp |
| 372 | :group 'comint) | 372 | :group 'comint) |
| 373 | 373 | ||