]> git.eshelyaron.com Git - emacs.git/commit
Tweak BSD style indentation (bug#60984)
authorTheodor Thornhill <theo@thornhill.no>
Sun, 22 Jan 2023 10:14:00 +0000 (11:14 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sun, 22 Jan 2023 10:14:00 +0000 (11:14 +0100)
commit808e101fabec64a2f7a42dd9d9207ebd402ead4f
treef86d17daf33d339cb0f778d60f1311d27a421001
parent204519a2e73b5907b2c6f6a670ea6068bc09f6bc
Tweak BSD style indentation (bug#60984)

* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-styles): Simplify
rules.
* test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts: New
testfile with bsd style indentation examples.
* test/lisp/progmodes/c-ts-mode-tests.el
(c-ts-mode-test-indentation-bsd): Add a test for the new style.
lisp/progmodes/c-ts-mode.el
test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts [new file with mode: 0644]
test/lisp/progmodes/c-ts-mode-tests.el