]> git.eshelyaron.com Git - emacs.git/commit
Fix comint-password-prompt-regexp
authorNoam Postavsky <npostavs@gmail.com>
Fri, 17 Aug 2018 10:29:35 +0000 (06:29 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 24 Aug 2018 02:49:04 +0000 (22:49 -0400)
commit74277b0e88197c169acfc16025e0e116230c021e
tree46228503964af368bdca964ce6b47c8b46c293da
parentca8dbde14b2b2025aa69c52378904ee5c573a0d7
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.
lisp/comint.el
test/lisp/comint-tests.el