]> git.eshelyaron.com Git - emacs.git/commitdiff
Utilize new face font-lock-escape-face in python-mode
authorYuan Fu <casouri@gmail.com>
Thu, 10 Nov 2022 18:34:57 +0000 (10:34 -0800)
committerYuan Fu <casouri@gmail.com>
Thu, 10 Nov 2022 18:34:57 +0000 (10:34 -0800)
* lisp/progmodes/python.el (python--treesit-settings): Use
font-lock-escape-face rather than font-lock-constant-face.

lisp/progmodes/python.el

index 61f29dd005c1ccce87cd2b136b6e8a57b2a47bde..a5d02d0fcbada9a28626304dd7146e8196a97af8 100644 (file)
@@ -1118,7 +1118,7 @@ be fontified."
    :feature 'escape-sequence
    :language 'python
    :override t
-   '((escape_sequence) @font-lock-constant-face))
+   '((escape_sequence) @font-lock-escape-face))
   "Tree-sitter font-lock settings.")
 
 \f