]> git.eshelyaron.com Git - emacs.git/commit
Fix lisp indent infloop on unfinished strings (Bug#37045)
authorNoam Postavsky <npostavs@gmail.com>
Fri, 16 Aug 2019 11:26:40 +0000 (07:26 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Sat, 17 Aug 2019 13:42:34 +0000 (09:42 -0400)
commitbcd0115e4db49791a77566b80fabc4384d9ebf57
treeeb5024d4e633eb5e21c83f3ca1e50a9dd46ac6f9
parent5f992d1990d9f351cf907dcf2066f573e0fe9407
Fix lisp indent infloop on unfinished strings (Bug#37045)

* lisp/emacs-lisp/lisp-mode.el (lisp-indent-calc-next): Stop trying to
skip over strings if we've hit the end of buffer.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(lisp-indent-unfinished-string): New test.
lisp/emacs-lisp/lisp-mode.el
test/lisp/emacs-lisp/lisp-mode-tests.el