]> git.eshelyaron.com Git - emacs.git/commit
Make python.el compatible with Emacs 29.1
authorStefan Kangas <stefankangas@gmail.com>
Tue, 11 Mar 2025 00:14:35 +0000 (01:14 +0100)
committerEshel Yaron <me@eshelyaron.com>
Wed, 12 Mar 2025 18:56:11 +0000 (19:56 +0100)
commit1f8046d6db31cf18cf39349fa9299d0d5c33996e
treecb86fabc6177f643f1b22218ae0f7af50da49695
parenta1028fab5ce5e78fd8cc63422613e5b8bea4e5a2
Make python.el compatible with Emacs 29.1

* lisp/progmodes/python.el (python--treesit-fontify-string): Don't
call treesit--compute-font-lock-level unless it is
fboundp.  (Bug#76873)

(cherry picked from commit 46f9ebaec309e45d4a1a19d1a5e69eab881d54e9)
lisp/progmodes/python.el