The 'symbol' widget is for when the user is expected to enter a
symbol; when using a definite symbol, 'const' is preferred.
* lisp/progmodes/c-ts-mode.el (c-ts-mode-indent-style): Use
'const' to define the options for a 'choice' widget.
(cherry picked from commit
2f8c2e64e03d85e2093b47e15aa35497054f922f)
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"
- :type '(choice (symbol :tag "Gnu" gnu)
- (symbol :tag "K&R" k&r)
- (symbol :tag "Linux" linux)
- (symbol :tag "BSD" bsd)
+ :type '(choice (const :tag "Gnu" gnu)
+ (const :tag "K&R" k&r)
+ (const :tag "Linux" linux)
+ (const :tag "BSD" bsd)
(function :tag "A function for user customized style" ignore))
:set #'c-ts-mode--indent-style-setter
:safe 'c-ts-indent-style-safep