]> git.eshelyaron.com Git - emacs.git/commit
Add back tree-sitter declare-function for python.el (bug#75526)
authorYuan Fu <casouri@gmail.com>
Tue, 28 Jan 2025 02:00:16 +0000 (18:00 -0800)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:13:37 +0000 (19:13 +0100)
commitf9d167acdbd582455cc14881974794ecc6c283e6
treeffcd213f4c89e03a5f433d733668fa4a50e53dfa
parentace2e33838d36c29901a93dfad7d7f3af72f60cd
Add back tree-sitter declare-function for python.el (bug#75526)

treesit-declare-unavailable-functions is not available for old
emacs versions, but python.el is a core package available on
ELPA.

Remove the treesit-declare-unavailable-functions until compat.el
releases a new version that contains it.

* lisp/progmodes/python.el: Remove
treesit-declare-unavailable-functions and add back
declare-function forms.

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