aboutsummaryrefslogtreecommitdiffstats
path: root/test
diff options
context:
space:
mode:
authorNoam Postavsky2018-08-17 06:29:35 -0400
committerNoam Postavsky2018-08-23 22:49:04 -0400
commit74277b0e88197c169acfc16025e0e116230c021e (patch)
tree46228503964af368bdca964ce6b47c8b46c293da /test
parentca8dbde14b2b2025aa69c52378904ee5c573a0d7 (diff)
downloademacs-74277b0e88197c169acfc16025e0e116230c021e.tar.gz
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')
-rw-r--r--test/lisp/comint-tests.el2
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 @@
38 "[sudo] password for user:" ; Ubuntu sudo 38 "[sudo] password for user:" ; Ubuntu sudo
39 "Password (again):" 39 "Password (again):"
40 "Enter password:" 40 "Enter password:"
41 "Mot de Passe:" ; localized 41 "Mot de Passe :" ; localized (Bug#29729)
42 "Passwort:") ; localized 42 "Passwort:") ; localized
43 "List of strings that should match `comint-password-prompt-regexp'.") 43 "List of strings that should match `comint-password-prompt-regexp'.")
44 44