]> git.eshelyaron.com Git - emacs.git/commit
* lisp/progmodes/python.el: Teach f-strings to `font-lock`
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Oct 2020 18:03:59 +0000 (14:03 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 16 Oct 2020 18:03:59 +0000 (14:03 -0400)
commit3b3274a85c2f5df21d76d82e0d7740005aa84fdf
treec0840a1dc9f882bc389fed4396cd36209e75f801
parentc41c1ac410423243f575e910aef9a1c7645ec216
* lisp/progmodes/python.el: Teach f-strings to `font-lock`

(python--f-string-p, python--font-lock-f-strings): New functions.
(python-font-lock-keywords-maximum-decoration): Use them.
lisp/progmodes/python.el