diff options
author | Yuan Fu <casouri@gmail.com> | 2022-11-14 00:51:54 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2022-11-14 00:51:54 -0800 |
commit | 3a0c94ac0b5d5098f9140c5ab4231d6dd06ec393 (patch) | |
tree | f0f4253a4f49fc38fb77c4892f7bfda7fe01722c /test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el | |
parent | 3a5c4bdc0c079f72bad98e01f70343ba9e9b0043 (diff) | |
download | emacs-3a0c94ac0b5d5098f9140c5ab4231d6dd06ec393.tar.gz emacs-3a0c94ac0b5d5098f9140c5ab4231d6dd06ec393.tar.bz2 emacs-3a0c94ac0b5d5098f9140c5ab4231d6dd06ec393.zip |
Remove feature that checks whether tree-sitter node "has changes"
First of all, we signal error on using an outdated node, so if a node
has changes, calling treesit-node-check would only raise an error.
Besides, in order to properly answer whether a node has changed, we
would have to update the node as the buffer is edited, which we don't
do right now.
* doc/lispref/parsing.texi (Accessing Node Information): Remove
relevant manual text.
* src/treesit.c (Ftreesit_node_check): Remove docstring mentions,
remove the branch for "has-changes".
(syms_of_treesit): Remove has-changes.
Diffstat (limited to 'test/lisp/emacs-lisp/bytecomp-resources/error-lexical-var-with-add-hook.el')
0 files changed, 0 insertions, 0 deletions