]> git.eshelyaron.com Git - emacs.git/commit
; Fix calls to treesit functions
authorEli Zaretskii <eliz@gnu.org>
Sun, 18 Dec 2022 17:13:10 +0000 (19:13 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sun, 18 Dec 2022 17:13:10 +0000 (19:13 +0200)
commit09b5f00613572dd27f43626aed21f3659d5ced64
tree0dac5246977ec15767687f58e3c24cc2a6e2ba39
parent614695a5ad521be9a159d1116a208db48604467d
; Fix calls to treesit functions

* lisp/progmodes/prog-mode.el (treesit-available-p): Declare.
(prog-fill-reindent-defun): Only call treesit.c functions if
treesit-available-p returns non-nil.  Reported by Eduardo Ochs
<eduardoochs@gmail.com>.
lisp/progmodes/prog-mode.el