Function: php-ts-mode-set-global-style

php-ts-mode-set-global-style is an interactive and byte-compiled function defined in php-ts-mode.el.gz.

Signature

(php-ts-mode-set-global-style STYLE)

Documentation

Set the indent style of PHP modes globally to STYLE.

This changes the current indent style of every PHP buffer and the default PHP indent style for php-ts-mode in this Emacs session.

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defun php-ts-mode-set-global-style (style)
  "Set the indent style of PHP modes globally to STYLE.

This changes the current indent style of every PHP buffer and
the default PHP indent style for `php-ts-mode'
in this Emacs session."
  (interactive (list (php-ts-mode--prompt-for-style)))
  (php-ts-mode--indent-style-setter 'php-ts-mode-indent-style style))