Function: php-ts-mode--indent-style-setter
php-ts-mode--indent-style-setter is a byte-compiled function defined
in php-ts-mode.el.gz.
Signature
(php-ts-mode--indent-style-setter SYM VAL)
Documentation
Custom setter for php-ts-mode-set-style.
Apart from setting the default value of SYM to VAL, also change
the value of SYM in php-ts-mode buffers to VAL.
SYM should be php-ts-mode-indent-style, and VAL should be a style
symbol.
Source Code
;; Defined in /usr/src/emacs/lisp/progmodes/php-ts-mode.el.gz
(defun php-ts-mode--indent-style-setter (sym val)
"Custom setter for `php-ts-mode-set-style'.
Apart from setting the default value of SYM to VAL, also change
the value of SYM in `php-ts-mode' buffers to VAL.
SYM should be `php-ts-mode-indent-style', and VAL should be a style
symbol."
(set-default sym val)
(dolist (buffer (buffer-list))
(with-current-buffer buffer
(when (derived-mode-p 'php-ts-mode)
(php-ts-mode-set-style val)))))