aboutsummaryrefslogtreecommitdiffstats
path: root/java
diff options
context:
space:
mode:
authorJuri Linkov2024-04-14 19:18:31 +0300
committerJuri Linkov2024-04-14 19:22:01 +0300
commit568c1741352a4932508fbbd474b9fd9ebe90ddfb (patch)
treeee663e9acb86a02a742f83214ddc9a6b3524380a /java
parentcd113d8c45ccf3bfa8b687c06a5d03618adf7a2c (diff)
downloademacs-568c1741352a4932508fbbd474b9fd9ebe90ddfb.tar.gz
emacs-568c1741352a4932508fbbd474b9fd9ebe90ddfb.zip
Add 'forward-sexp-default-function' to be used by 'treesit-forward-sexp'
* lisp/emacs-lisp/lisp.el (forward-sexp-default-function): New function with body from 'forward-sexp' (bug#68993). (forward-sexp-function): Change the default value from nil to 'forward-sexp-default-function'. (forward-sexp): Use either 'forward-sexp-function' or 'forward-sexp-default-function'. * lisp/treesit.el (treesit-forward-sexp): In nodes of type 'text' fall back to 'forward-sexp-default-function'. Improve docstring. * doc/lispref/positions.texi (List Motion): Fix pxref.
Diffstat (limited to 'java')
0 files changed, 0 insertions, 0 deletions