]> git.eshelyaron.com Git - emacs.git/commit
Respect field boundaries in indent-line-to (Bug#32014)
authorNoam Postavsky <npostavs@gmail.com>
Sat, 30 Jun 2018 13:14:22 +0000 (09:14 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Tue, 10 Jul 2018 00:08:13 +0000 (20:08 -0400)
commite4ad2d1a8fad8c8c786b61083b05cfaa1ea5669c
treed56221de41e6d1d1b43edd025c1bba379684a312
parent737481cc624c62bdbd210b3eda8a6de0f23d4505
Respect field boundaries in indent-line-to (Bug#32014)

* lisp/indent.el (indent-line-to): Use the back-to-indentation point
as the end-point of whitespace removal, rather than
backward-to-indentation which doesn't respect field boundaries.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(lisp-indent-with-read-only-field): Don't expect to fail.
lisp/indent.el
test/lisp/emacs-lisp/lisp-mode-tests.el