]> git.eshelyaron.com Git - emacs.git/commit
Add c-ts-mode-set-style and :set for c-ts-mode-indent-style
authorTheodor Thornhill <theo@thornhill.no>
Wed, 25 Jan 2023 20:04:00 +0000 (21:04 +0100)
committerTheodor Thornhill <theo@thornhill.no>
Sat, 28 Jan 2023 18:39:23 +0000 (19:39 +0100)
commit6e50ee8bbb50ef86707cefed8ebb20f027156843
treede2eb765018d58b300626dc0e5c281d1cd86820d
parent450db0587a91ff13403488fbabc744567be7f6fa
Add c-ts-mode-set-style and :set for c-ts-mode-indent-style

* lisp/progmodes/c-ts-mode.el (c-ts-mode--indent-style-setter): New
setter for the indent style defcustom.
(c-ts-mode-indent-style): Don't quote the values and refer to the
setter.
(c-ts-mode-set-style): New command to interactively set the indent
style.
(c-ts-mode--get-indent-style): New function renamed from
'c-ts-mode--set-indent-style'.
lisp/progmodes/c-ts-mode.el