aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorYuan Fu2023-04-06 14:38:00 -0700
committerYuan Fu2023-04-12 00:02:20 -0700
commit2ce27563ecc8d2427a24973d90ac4744aa3ae15f (patch)
tree233c48e3eb6f4991495395933586bec3694e7529 /exec/exec.c
parente54feef094a273cea28c980df57de0808cc7ef30 (diff)
downloademacs-2ce27563ecc8d2427a24973d90ac4744aa3ae15f.tar.gz
emacs-2ce27563ecc8d2427a24973d90ac4744aa3ae15f.zip
Add 'restricted' tactic in tree-sitter navigation functions
* lisp/treesit.el (treesit-forward-sexp): Add docstring. Use 'restricted' tactic. (treesit-transpose-sexps): Fix docstring. (treesit-beginning-of-thing) (treesit-end-of-thing): Add support for TACTIC. (treesit-beginning-of-defun) (treesit-end-of-defun): Supply treesit-defun-tactic as TACTIC. (treesit--navigate-thing): Add support for TACTIC. Wrap the old form in a new (if (eq tactic 'restricted) (new-code) (old-form)), and supply the TACTIC parameter when recursing.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions