]> git.eshelyaron.com Git - dict.git/commit
Don't highlight syntax error at the end of the buffer
authorEshel Yaron <me@eshelyaron.com>
Tue, 15 Nov 2022 22:43:51 +0000 (00:43 +0200)
committerEshel Yaron <me@eshelyaron.com>
Tue, 15 Nov 2022 22:43:51 +0000 (00:43 +0200)
commit7c5566bd194e7f14b1713149bd57b1962dce1b34
treea86d31afdb282922351ec5785237aedb50c47728
parent36847b354372c31022983613bfd8fef79c34e019
Don't highlight syntax error at the end of the buffer

* sweeprolog.el (sweeprolog--analyze-point): new buffer local
variable.
(sweeprolog-analyze-buffer, sweeprolog-analyze-some-terms): let-bind
it.
(sweeprolog-analyze-fragment-to-faces): check it before applying
sweeprolog-syntax-error-face.
sweeprolog.el