Fix docstring of c-ts-mode-indent-style
* lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-style): Make the docstring reflect what's expected by the code.
This commit is contained in:
parent
9fdb764898
commit
b38eb6da1d
1 changed files with 5 additions and 4 deletions
|
@ -147,10 +147,11 @@ symbol."
|
||||||
(defcustom c-ts-mode-indent-style 'gnu
|
(defcustom c-ts-mode-indent-style 'gnu
|
||||||
"Style used for indentation.
|
"Style used for indentation.
|
||||||
|
|
||||||
The selected style could be one of GNU, K&R, LINUX or BSD. If
|
The selected style could be one of GNU, K&R, LINUX or BSD. If the
|
||||||
one of the supplied styles doesn't suffice, the value could be
|
supplied styles don't suffice, the value could be a function instead.
|
||||||
a function instead. This function is expected to return a list
|
This function takes no arguments and is expected to return a list of
|
||||||
that follows the form of `treesit-simple-indent-rules'."
|
indent RULEs as described in `treesit-simple-indent-rules'. Note that
|
||||||
|
the list of RULEs doesn't need to contain the language symbol."
|
||||||
:version "29.1"
|
:version "29.1"
|
||||||
:type '(choice (symbol :tag "Gnu" gnu)
|
:type '(choice (symbol :tag "Gnu" gnu)
|
||||||
(symbol :tag "K&R" k&r)
|
(symbol :tag "K&R" k&r)
|
||||||
|
|
Loading…
Add table
Reference in a new issue