summaryrefslogtreecommitdiff
path: root/test/lisp/comint-tests.el
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2018-08-17 06:29:35 -0400
committerNoam Postavsky <npostavs@gmail.com>2018-08-23 22:49:04 -0400
commit74277b0e88197c169acfc16025e0e116230c021e (patch)
tree46228503964af368bdca964ce6b47c8b46c293da /test/lisp/comint-tests.el
parentca8dbde14b2b2025aa69c52378904ee5c573a0d7 (diff)
downloademacs-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.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 @@
"[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'.")