diff options
author | Juri Linkov <juri@linkov.net> | 2025-01-04 20:30:07 +0200 |
---|---|---|
committer | Juri Linkov <juri@linkov.net> | 2025-01-04 20:30:07 +0200 |
commit | d9a0e781978725953ab44556f5222b1be32df7a7 (patch) | |
tree | a7f1e3722e10815b050b99b8ab2d65cd25e8f1cd /lisp/emacs-lisp/lisp.el | |
parent | 6814ab06f2c7b5b271e6d78d4e05ce498ffc403d (diff) | |
download | emacs-d9a0e781978725953ab44556f5222b1be32df7a7.tar.gz emacs-d9a0e781978725953ab44556f5222b1be32df7a7.tar.bz2 emacs-d9a0e781978725953ab44556f5222b1be32df7a7.zip |
* lisp/treesit.el (treesit-transpose-sexps): Improve (bug#60655).
Use 'treesit-thing-next' and 'treesit-thing-prev' with
'treesit-node-named' to transpose named siblings that leaves the right
punctuation in anonymous nodes between named siblings. Fall back
to 'transpose-sexps-default-function' inside strings and comments.
(treesit-node-named): New helper function.
Diffstat (limited to 'lisp/emacs-lisp/lisp.el')
0 files changed, 0 insertions, 0 deletions