diff options
author | Yuan Fu <casouri@gmail.com> | 2023-02-28 23:51:06 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-03-01 00:55:51 -0800 |
commit | 4a6db125b9ee5d681aa09d86c9283526f204b274 (patch) | |
tree | 86fd5f1bd632082c5d195099d226bd54ff77b5dc /lisp/emacs-lisp | |
parent | 7ef9a8210c9b6c2adf6094d8e85a50edd91e54e3 (diff) | |
download | emacs-4a6db125b9ee5d681aa09d86c9283526f204b274.tar.gz emacs-4a6db125b9ee5d681aa09d86c9283526f204b274.tar.bz2 emacs-4a6db125b9ee5d681aa09d86c9283526f204b274.zip |
Fix treesit-indent-region
Fix it for the case where there is no suitable rule for the line.
Right now treesit-indent-region would indent the line to column 0.
After the change the indentation is not altered.
* lisp/treesit.el (treesit-indent-region): Handle the case where
ANCHOR or OFFSET is nil specially.
Diffstat (limited to 'lisp/emacs-lisp')
0 files changed, 0 insertions, 0 deletions