Function: c-ts-mode--get-indent-style
c-ts-mode--get-indent-style is a byte-compiled function defined in
c-ts-mode.el.gz.
Signature
(c-ts-mode--get-indent-style MODE)
Documentation
Helper function to set indentation style.
MODE is either c or cpp.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defun c-ts-mode--get-indent-style (mode)
"Helper function to set indentation style.
MODE is either `c' or `cpp'."
(let ((style
(if (functionp c-ts-mode-indent-style)
(funcall c-ts-mode-indent-style)
(alist-get c-ts-mode-indent-style (c-ts-mode--indent-styles mode)))))
`((,mode ,@style))))