]> git.eshelyaron.com Git - emacs.git/commit
Use 'sh-indent-for-continuation' for continued lines in 'sh-script-mode'
authorPhilippe Altherr <philippe.altherr@gmail.com>
Sat, 14 Jan 2023 04:22:26 +0000 (05:22 +0100)
committerEli Zaretskii <eliz@gnu.org>
Thu, 2 Mar 2023 10:37:58 +0000 (12:37 +0200)
commit30e2a85717c4189994c7ae759888e257225f0a21
treef8aafa6ff86a2dc3438d8d14a88f3adb39f79e5e
parenta798a29f7519244b47ffc3035fcd8bf7bafea4d5
Use 'sh-indent-for-continuation' for continued lines in 'sh-script-mode'

* lisp/progmodes/sh-script.el (sh-smie--indent-continuation): Use
'sh-indent-for-continuation' instead of 'sh-basic-offset'.
(Bug#60832)

* test/lisp/progmodes/sh-script-tests.el
(test-indent-after-continuation): New test.
lisp/progmodes/sh-script.el
test/lisp/progmodes/sh-script-tests.el