]> git.eshelyaron.com Git - emacs.git/commit
* lisp/treesit.el (treesit-outline-search): Handle bobp specially.
authorJuri Linkov <juri@linkov.net>
Thu, 9 May 2024 06:28:50 +0000 (09:28 +0300)
committerEshel Yaron <me@eshelyaron.com>
Fri, 10 May 2024 13:33:40 +0000 (15:33 +0200)
commitd20677529363138b5926ee06c5ccee4efb73d6d9
treed1c7e0b05f0087a71a9167576956f80052919aa4
parent30347d40a4d43b16cabe44f570cdff74cdbfeebd
* lisp/treesit.el (treesit-outline-search): Handle bobp specially.

At the beginning of the buffer call 'treesit-outline-search'
recursively with the `looking-at' argument set to t, since
`treesit-navigate-thing' can't find a thing at bobp (bug#70789).

(cherry picked from commit 9b7dd30807ed4be9afe4f66cfa5130aa7d178989)
lisp/treesit.el