aboutsummaryrefslogtreecommitdiffstats
path: root/lisp/progmodes/python.el
diff options
context:
space:
mode:
authorYuan Fu2022-11-10 10:34:57 -0800
committerYuan Fu2022-11-10 10:34:57 -0800
commit2ec403f777adf39d3e972667513086f2053530dd (patch)
tree5c523e277228f5c797f28b6dec4c79998c8319f6 /lisp/progmodes/python.el
parentc5e3b99467dd07522f9522cc77cddbaa69222a7b (diff)
downloademacs-2ec403f777adf39d3e972667513086f2053530dd.tar.gz
emacs-2ec403f777adf39d3e972667513086f2053530dd.zip
Utilize new face font-lock-escape-face in python-mode
* lisp/progmodes/python.el (python--treesit-settings): Use font-lock-escape-face rather than font-lock-constant-face.
Diffstat (limited to 'lisp/progmodes/python.el')
-rw-r--r--lisp/progmodes/python.el2
1 files changed, 1 insertions, 1 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el
index 61f29dd005c..a5d02d0fcba 100644
--- a/lisp/progmodes/python.el
+++ b/lisp/progmodes/python.el
@@ -1118,7 +1118,7 @@ be fontified."
1118 :feature 'escape-sequence 1118 :feature 'escape-sequence
1119 :language 'python 1119 :language 'python
1120 :override t 1120 :override t
1121 '((escape_sequence) @font-lock-constant-face)) 1121 '((escape_sequence) @font-lock-escape-face))
1122 "Tree-sitter font-lock settings.") 1122 "Tree-sitter font-lock settings.")
1123 1123
1124 1124