]> git.eshelyaron.com Git - emacs.git/commit
Stop using indent-line-to in lisp-indent-line (Bug#32014)
authorNoam Postavsky <npostavs@gmail.com>
Fri, 29 Jun 2018 23:58:58 +0000 (19:58 -0400)
committerNoam Postavsky <npostavs@gmail.com>
Mon, 9 Jul 2018 23:39:03 +0000 (19:39 -0400)
commit8f7d35cabdbeb2404d53af39c5d7c12e870fa1cb
tree7840f69403e63c9ab2576b0b89cff311ebf58131
parentdb3f7797809ed9de8dd92ce38bf34f768ddc64ad
Stop using indent-line-to in lisp-indent-line (Bug#32014)

This is partial revert of "Remove ignored argument from
lisp-indent-line", because `indent-line-to' doesn't respect field
boundaries.
* lisp/emacs-lisp/lisp-mode.el (lisp-indent-line): Use delete-region
and indent-to instead of `indent-line-to'.
* test/lisp/emacs-lisp/lisp-mode-tests.el
(lisp-indent-with-read-only-field): Expect to pass.

Don't merge to master, we will fix indent-line-to there instead.
lisp/emacs-lisp/lisp-mode.el
test/lisp/emacs-lisp/lisp-mode-tests.el