[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#66400: [PATCH] Fix 'treesit-query-validate'
From: |
Yuan Fu |
Subject: |
bug#66400: [PATCH] Fix 'treesit-query-validate' |
Date: |
Sun, 8 Oct 2023 15:59:55 -0700 |
> On Oct 7, 2023, at 7:55 PM, nvp <noah.v.peart@gmail.com> wrote:
>
> Tags: patch
>
> Bug: when calling `treesit-query-validate` interactively,
> the query is expanded with `treesit-query-expand`, despite being a
> string. This produces unreadable output in the error message buffer.
>
> * lisp/treesit.el (treesit-query-validate): Only expand sexp queries
> before insertion into query error buffer.
Thank you very much! May I ask whether you have signed the copyright
assignment? Though for this patch, the assignment isn’t needed, since it
changes 2 lines, well within the 15 lines limit for the exempt.
Yuan