Function: c-ts-mode--prompt-for-style
c-ts-mode--prompt-for-style is a byte-compiled function defined in
c-ts-mode.el.gz.
Signature
(c-ts-mode--prompt-for-style)
Documentation
Prompt for an indent style and return the symbol for it.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/c-ts-mode.el.gz
(defun c-ts-mode--prompt-for-style ()
"Prompt for an indent style and return the symbol for it."
(let ((mode (if (derived-mode-p 'c-ts-mode) 'c 'c++)))
(intern
(completing-read
"Style: "
(mapcar #'car (c-ts-mode--indent-styles mode))
nil t nil nil "gnu"))))