]> git.eshelyaron.com Git - emacs.git/commit
Don't fail to indent-sexp before a full sexp (Bug#31984)
authorNoam Postavsky <npostavs@gmail.com>
Fri, 27 Jul 2018 23:41:39 +0000 (19:41 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Fri, 27 Jul 2018 23:41:39 +0000 (19:41 -0400)
commit857910539313c0f2d89fe5626a41f1abe6c33ca7
tree7c4a9b8184cd09d842962fe9dcbec07651611766
parentd24c5f26bf6c12bda614f90ba3345d710482005a
Don't fail to indent-sexp before a full sexp (Bug#31984)

* lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only signal error if the
initial forward-sexp fails.  Suppress scan-error forn any of the
forward-sexp calls after that.
* test/lisp/emacs-lisp/lisp-mode-tests.el (indent-sexp-cant-go): New
test.
lisp/emacs-lisp/lisp-mode.el
test/lisp/emacs-lisp/lisp-mode-tests.el