]> git.eshelyaron.com Git - emacs.git/commit
Be more careful about indent-sexp going over eol (Bug#35286)
authorNoam Postavsky <npostavs@gmail.com>
Mon, 15 Apr 2019 22:49:57 +0000 (18:49 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 22 Apr 2019 16:49:36 +0000 (12:49 -0400)
commit93912baefd10ccb3e6e2e9696cda3b813c056c87
tree0b0557ff122a4fe6138ab564bd5ada5d73876b10
parent3988e93d4b0f2bf677efd9f560373dd526097609
Be more careful about indent-sexp going over eol (Bug#35286)

* lisp/emacs-lisp/lisp-mode.el (indent-sexp): Only go over multiple
sexps if the end of line is within a sexp.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(indent-sexp-stop-before-eol-comment)
(indent-sexp-stop-before-eol-non-lisp): New tests.
lisp/emacs-lisp/lisp-mode.el
test/lisp/emacs-lisp/lisp-mode-tests.el