]> git.eshelyaron.com Git - emacs.git/commit
Fix test-regressions in python-ts-mode
authorJostein Kjønigsen <jostein@kjonigsen.net>
Mon, 5 May 2025 07:45:36 +0000 (09:45 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 10 May 2025 08:49:50 +0000 (10:49 +0200)
commitc9dbd5d64697528b38b07daa798cfe0ae65dd7f6
tree49559b505a422d44156ab6499e36dce8c121408e
parent715562f280da2c198fb22cb359a735be9f6cc73a
Fix test-regressions in python-ts-mode

* lisp/progmodes/python.el (python--treesit-settings): Use more
specific selectors for constants.

* test/lisp/progmodes/python-tests.el
(python-ts-mode-nested-types-face-1)
(python-ts-mode-union-types-face-1)
(python-ts-mode-union-types-face-2): None is now a constant.

(cherry picked from commit 9261d353ccc0f94da8049faaade025f338d75354)
lisp/progmodes/python.el
test/lisp/progmodes/python-tests.el