summaryrefslogtreecommitdiff
path: root/lisp/emacs-lisp/lisp.el
diff options
context:
space:
mode:
authorYuan Fu <casouri@gmail.com>2025-03-02 20:26:28 -0800
committerYuan Fu <casouri@gmail.com>2025-03-02 20:28:07 -0800
commita211a940a1e085d53172ceddf6bfc2391985e861 (patch)
tree0af6e785d23bb2c9abc0152d2e3260293e10d52e /lisp/emacs-lisp/lisp.el
parent76342efe9d758a6ca66cdc0ed197381664a6fbbd (diff)
downloademacs-a211a940a1e085d53172ceddf6bfc2391985e861.tar.gz
emacs-a211a940a1e085d53172ceddf6bfc2391985e861.tar.bz2
emacs-a211a940a1e085d53172ceddf6bfc2391985e861.zip
Don't process function range settings in treesit--update-range-1
This fixes a bug where we call treesit-query-language on a function, which happens before the QUERY in a range setting can be either a function or a query, but we call it with treesit-query-language before knowing whether it's a query or function. * lisp/treesit.el: (treesit--update-range-1): Skip function range settings. (treesit-update-ranges): Handle function range settings here.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions