; Fix backslashes in python-tests
commit443f37163634319a730133efe9e21933c23dc3c6
authorNoam Postavsky <npostavs@gmail.com>
Mon, 22 May 2017 16:36:20 +0000 (22 12:36 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 29 May 2017 03:33:25 +0000 (28 23:33 -0400)
tree05fe9dfaf30fc3a7a49f5da3d6a5b3a23a075c42
parenteafc985f7ea975f86b22d9456a2f91fe5342a9ca
; Fix backslashes in python-tests

* test/lisp/progmodes/python-tests.el (python-indent-after-backslash-1)
(python-indent-after-backslash-2)
(python-indent-after-backslash-3)
(python-indent-after-backslash-4)
(python-indent-after-backslash-5)
(python-nav-beginning-of-statement-1)
(python-nav-end-of-statement-1)
(python-nav-forward-statement-1)
(python-nav-backward-statement-1)
(python-nav-backward-statement-2)
(python-info-statement-starts-block-p-2)
(python-info-statement-ends-block-p-2)
(python-info-beginning-of-statement-p-2)
(python-info-end-of-statement-p-2)
(python-info-beginning-of-block-p-2)
(python-info-end-of-block-p-2)
(python-info-line-ends-backslash-p-1)
(python-info-beginning-of-backslash-1)
(python-info-continuation-line-p-1)
(python-info-block-continuation-line-p-1)
(python-info-assignment-statement-p-1)
(python-info-assignment-continuation-line-p-1): Backslashes in
literals should be doubled only once to produce one backslash in the
buffer.  If there backslashes inside a Python string literal in a Lisp
literal, that would need to be doubled twice, but there are no such
cases.  Note that `python-tests-looking-at' takes a plain string, not
a regexp.
test/lisp/progmodes/python-tests.el