1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-02-19 22:50:29 -08:00
emacs/test/src
Yuan Fu 293029458c
Make use of the new pred shapes in treesit.el
treesit-search-forward and friends now accept more shapes for PRED,
make use of it in navigation functions.

* lisp/treesit.el (treesit-node-top-level): Use treesit-node-match-p.
(treesit--thing-unpack-pattern): Remove function.
(treesit-beginning-of-thing)
(treesit-end-of-thing): Remove PRED argument.
(treesit--things-around): Remove PRED argument, use
treesit-node-match-p.
(treesit--top-level-thing): Remove function.
(treesit--navigate-thing): Remove PRED argument.
(treesit-thing-at-point): Update docstring, don't unpack PATTERN.

* test/src/treesit-tests.el:
(treesit--ert-test-defun-navigation): Don't unpack pattern.
2023-04-14 15:52:30 -07:00
..
comp-resources Comp: Fix limplification pass (bug#62537) 2023-04-05 19:12:42 +02:00
emacs-module-resources
lread-resources
regex-resources
syntax-resources
alloc-tests.el
buffer-tests.el
callint-tests.el
callproc-tests.el
casefiddle-tests.el
character-tests.el
charset-tests.el
chartab-tests.el
cmds-tests.el
coding-tests.el
comp-tests.el ; * test/src/comp-tests.el (61917-1): Underscore unused parameter. 2023-04-07 19:19:58 +02:00
data-tests.el
decompress-tests.el
doc-tests.el
editfns-tests.el
emacs-module-tests.el
emacs-tests.el
eval-tests.el Disallow creation of circular variable alias chains 2023-04-14 19:34:23 +02:00
fileio-tests.el
filelock-tests.el
floatfns-tests.el
fns-tests.el ; * test/src/fns-tests.el: Strengthen tests of nreverse. 2023-04-09 13:16:53 +02:00
font-tests.el
image-tests.el
indent-tests.el
inotify-tests.el
json-tests.el
keyboard-tests.el
keymap-tests.el Add tests for Bug#62207 2023-03-18 10:37:15 +01:00
lcms-tests.el
lread-tests.el Remove recursion from character escape handling in reader 2023-03-11 10:21:23 +01:00
marker-tests.el
minibuf-tests.el
print-tests.el
process-tests.el
regex-emacs-tests.el
search-tests.el
sqlite-tests.el
syntax-tests.el
textprop-tests.el
thread-tests.el
timefns-tests.el
treesit-tests.el Make use of the new pred shapes in treesit.el 2023-04-14 15:52:30 -07:00
undo-tests.el
xdisp-tests.el
xfaces-tests.el
xml-tests.el