]> git.eshelyaron.com Git - emacs.git/commit
treesit--pre-syntax-ppss: Fix args-out-of-range in internal--syntax-propertize
authorDmitry Gutov <dmitry@gutov.dev>
Tue, 2 Jan 2024 13:32:03 +0000 (15:32 +0200)
committerEshel Yaron <me@eshelyaron.com>
Sat, 6 Jan 2024 16:15:26 +0000 (17:15 +0100)
commitb3f9506ceba5e3ece73182f53e93c0b5949c4c97
treed9f8bec82b2c47cb4c5da2844a85719263bc709d
parentef6cce55d466c95384e2a180433a534b7305d0da
treesit--pre-syntax-ppss: Fix args-out-of-range in internal--syntax-propertize

* lisp/treesit.el (treesit--pre-syntax-ppss): Make sure the lower
bound is still within the current restriction (bug#67977).

(cherry picked from commit 1a677d1429d1f9fea2d6b2bc9dd5644a5564cc27)
lisp/treesit.el