• Noam Postavsky's avatar
    Stop using indent-line-to in lisp-indent-line (Bug#32014) · 8f7d35ca
    Noam Postavsky authored
    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.
    8f7d35ca
lisp-mode.el 57.2 KB