]> git.eshelyaron.com Git - emacs.git/commit
Add indentation style setting for c-ts-mode in .dir-locals.el
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Apr 2023 06:41:50 +0000 (09:41 +0300)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Apr 2023 06:41:50 +0000 (09:41 +0300)
commit44145bf07e296efe28a29f03edcb685c84afe69a
tree58bce88242a92698b773266705e9ca5a842e98a9
parente7db6c59cc63c28c6be8989968fb1a8b6a7a5ca4
Add indentation style setting for c-ts-mode in .dir-locals.el

* lisp/progmodes/c-ts-mode.el (c-ts-indent-style-safep): New
predicate.
(c-ts-mode-indent-style): Use it to test the value for being safe.

* .dir-locals.el (c-ts-mode): Set 'c-ts-mode-indent-style' to 'gnu'.
.dir-locals.el
lisp/progmodes/c-ts-mode.el