diff options
author | Noam Postavsky <npostavs@gmail.com> | 2018-08-17 06:29:35 -0400 |
---|---|---|
committer | Noam Postavsky <npostavs@gmail.com> | 2018-08-23 22:49:04 -0400 |
commit | 74277b0e88197c169acfc16025e0e116230c021e (patch) | |
tree | 46228503964af368bdca964ce6b47c8b46c293da /test/lisp/comint-tests.el | |
parent | ca8dbde14b2b2025aa69c52378904ee5c573a0d7 (diff) | |
download | emacs-74277b0e88197c169acfc16025e0e116230c021e.tar.gz emacs-74277b0e88197c169acfc16025e0e116230c021e.tar.bz2 emacs-74277b0e88197c169acfc16025e0e116230c021e.zip |
Fix comint-password-prompt-regexp
The change from 2017-12-22 "Support French password prompts in shell"
tried to allow nonbreaking space in addition to whitespace syntax
characters around the colon, but used square brackets which cause "\s"
to be interpreted literally rather than as a backslash construct.
* lisp/comint.el (comint-password-prompt-regexp): Use [[:blank:]]
instead, which also has the benefit of not relying on the major mode's
whitespace syntax setting.
* test/lisp/comint-tests.el (comint-testsuite-password-strings):
Update French localized entry to have a space before the colon, as
reported in Bug#29729.
Diffstat (limited to 'test/lisp/comint-tests.el')
-rw-r--r-- | test/lisp/comint-tests.el | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/lisp/comint-tests.el b/test/lisp/comint-tests.el index 64898888ba8..366fcc9ad89 100644 --- a/test/lisp/comint-tests.el +++ b/test/lisp/comint-tests.el @@ -38,7 +38,7 @@ "[sudo] password for user:" ; Ubuntu sudo "Password (again):" "Enter password:" - "Mot de Passe:" ; localized + "Mot de Passe :" ; localized (Bug#29729) "Passwort:") ; localized "List of strings that should match `comint-password-prompt-regexp'.") |