diff options
| author | Eli Zaretskii | 2024-04-27 06:23:46 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2024-04-27 06:23:46 -0400 |
| commit | 687c4137fa473031bc62aa0d41aec74df4f1e5af (patch) | |
| tree | b78b4eba22fd0f5e8a6ab16cd820521c8ea3a25e /lisp/progmodes/python.el | |
| parent | b761a381066ca2fdeb510c0d5a88be58b524685d (diff) | |
| parent | f37f01b5046b510656d0f2ace22168a222f6481a (diff) | |
| download | emacs-687c4137fa473031bc62aa0d41aec74df4f1e5af.tar.gz emacs-687c4137fa473031bc62aa0d41aec74df4f1e5af.zip | |
Merge from origin/emacs-29
f37f01b5046 Fix a typo in Introduction to Emacs Lisp (bug#70571).
d8687fd6cd8 Fix last change
494dfd9cf2b Fix indentation of if/else in 'csharp-ts-mode' (bug#70345)
1cc6322e612 ; * etc/PROBLEMS: Document crashes due to tree-sitter ABI...
42766f95e5c * build-aux/make-info-dir: Avoid bashism (bug#70484).
81476fa19e8 Improve documentation of selection and navigation in *xre...
2a533514929 Fix Widget manual typos, markup and omissions (bug#70502)
90be3015b4d ; Document bookmark fringe mark in the user manual
afd0b548fcc Fix python-ts-mode built-in functions and attributes (bug...
dc720decc3a Fix markup and indexing in the Calendar chapter of user m...
f593bf79a91 Fix the user manual for `calendar-time-zone-style'
aed2b7a3d82 Avoid assertion violations in 'push_prefix_prop'
c929532b469 Remove ert-equal-including-properties from manual
e3aae5fd385 ; Document 'filtered-frame-list'
Diffstat (limited to 'lisp/progmodes/python.el')
| -rw-r--r-- | lisp/progmodes/python.el | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lisp/progmodes/python.el b/lisp/progmodes/python.el index 85279d3e84b..d6c29e5ffc6 100644 --- a/lisp/progmodes/python.el +++ b/lisp/progmodes/python.el | |||
| @@ -1206,13 +1206,15 @@ fontified." | |||
| 1206 | 1206 | ||
| 1207 | :feature 'builtin | 1207 | :feature 'builtin |
| 1208 | :language 'python | 1208 | :language 'python |
| 1209 | `(((identifier) @font-lock-builtin-face | 1209 | `((call function: (identifier) @font-lock-builtin-face |
| 1210 | (:match ,(rx-to-string | 1210 | (:match ,(rx-to-string |
| 1211 | `(seq bol | 1211 | `(seq bol (or ,@python--treesit-builtins) eol)) |
| 1212 | (or ,@python--treesit-builtins | 1212 | @font-lock-builtin-face)) |
| 1213 | ,@python--treesit-special-attributes) | 1213 | (attribute attribute: (identifier) @font-lock-builtin-face |
| 1214 | eol)) | 1214 | (:match ,(rx-to-string |
| 1215 | @font-lock-builtin-face))) | 1215 | `(seq bol |
| 1216 | (or ,@python--treesit-special-attributes) eol)) | ||
| 1217 | @font-lock-builtin-face))) | ||
| 1216 | 1218 | ||
| 1217 | :feature 'decorator | 1219 | :feature 'decorator |
| 1218 | :language 'python | 1220 | :language 'python |