]> git.eshelyaron.com Git - emacs.git/commit
* lisp/treesit.el (treesit-parsers-at): Fix for 'with-host' arg.
authorJuri Linkov <juri@linkov.net>
Thu, 17 Apr 2025 17:21:16 +0000 (20:21 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 18 Apr 2025 06:46:51 +0000 (08:46 +0200)
commitd0bd880af7ba0b4ff6743ceca2536841aa39142a
treee83c2441f611d3eac467d7c0e389549b01acdb17
parenta5dbf906b6013031be9a5e823e91bde3094b45fd
* lisp/treesit.el (treesit-parsers-at): Fix for 'with-host' arg.

Don't add the primary parser or the first of treesit-parser-list
when non-nil 'with-host' is provided since there is no host
for the primary parser (bug#76788).

(cherry picked from commit 2808bef2522481b3b3e6a7f2739ae8dbd02c13f5)
lisp/treesit.el