]> git.eshelyaron.com Git - emacs.git/commit
Fix syntax highlighting after string literal concat in python-mode
authorJakub Ječmínek <jecminek.k@gmail.com>
Fri, 19 Jan 2024 15:38:21 +0000 (16:38 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 31 Jan 2024 20:08:07 +0000 (21:08 +0100)
commit84fdab75bfe7910294db5c533aa26283dfb9cb2e
treedc085bee1b402cd4e5405d6a14fa8c4fe8842671
parentb6714cb61f1c1b505f56f516bd8800d8cf340522
Fix syntax highlighting after string literal concat in python-mode

* lisp/progmodes/python.el (python-syntax-stringify): Fix
incorrect font-lock after string literal concatenation.
(Bug#45897)

* test/lisp/progmodes/python-tests.el
(python-font-lock-string-literal-concatenation): New test.

Co-authored-by: kobarity <kobarity@gmail.com>
Copyright-paperwork-exempt: yes
(cherry picked from commit 09cdf8a406c5b73e8924a7396c2aaabe74a1a638)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el