Function: c-ts-mode-set-global-style
c-ts-mode-set-global-style is an interactive and byte-compiled
function defined in c-ts-mode.el.gz.
Signature
(c-ts-mode-set-global-style STYLE)
Documentation
Set the indent style of C/C++ modes globally to STYLE.
This changes the current indent style of every C/C++ buffer and
the default C/C++ indent style for c-ts-mode and c++-ts-mode
in this Emacs session.
Key Bindings
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defun c-ts-mode-set-global-style (style)
"Set the indent style of C/C++ modes globally to STYLE.
This changes the current indent style of every C/C++ buffer and
the default C/C++ indent style for `c-ts-mode' and `c++-ts-mode'
in this Emacs session."
(interactive (list (c-ts-mode--prompt-for-style)))
(c-ts-mode--indent-style-setter 'c-ts-mode-indent-style style))