summaryrefslogtreecommitdiff
path: root/test/lisp/emacs-lisp
diff options
context:
space:
mode:
authorNoam Postavsky <npostavs@gmail.com>2018-06-29 19:58:58 -0400
committerNoam Postavsky <npostavs@gmail.com>2018-07-09 19:39:03 -0400
commit8f7d35cabdbeb2404d53af39c5d7c12e870fa1cb (patch)
tree7840f69403e63c9ab2576b0b89cff311ebf58131 /test/lisp/emacs-lisp
parentdb3f7797809ed9de8dd92ce38bf34f768ddc64ad (diff)
downloademacs-8f7d35cabdbeb2404d53af39c5d7c12e870fa1cb.tar.gz
emacs-8f7d35cabdbeb2404d53af39c5d7c12e870fa1cb.tar.bz2
emacs-8f7d35cabdbeb2404d53af39c5d7c12e870fa1cb.zip
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.
Diffstat (limited to 'test/lisp/emacs-lisp')
-rw-r--r--test/lisp/emacs-lisp/lisp-mode-tests.el1
1 files changed, 0 insertions, 1 deletions
diff --git a/test/lisp/emacs-lisp/lisp-mode-tests.el b/test/lisp/emacs-lisp/lisp-mode-tests.el
index 2ac0e5ce1d4..8598d419788 100644
--- a/test/lisp/emacs-lisp/lisp-mode-tests.el
+++ b/test/lisp/emacs-lisp/lisp-mode-tests.el
@@ -226,7 +226,6 @@ Expected initialization file: `%s'\"
(ert-deftest lisp-indent-with-read-only-field ()
"Test indentation on line with read-only field (Bug#32014)."
- :expected-result :failed
(with-temp-buffer
(insert (propertize "prompt> " 'field 'output 'read-only t
'rear-nonsticky t 'front-sticky '(read-only)))