diff options
author | Yuan Fu <casouri@gmail.com> | 2023-02-03 18:35:33 -0800 |
---|---|---|
committer | Yuan Fu <casouri@gmail.com> | 2023-02-04 15:33:26 -0800 |
commit | b80f36b88c76b8f8ce3f2e6f9bd56aa2ccbe7b39 (patch) | |
tree | 1e4a8f660ce45e3e267778badf76362174f2835c /lisp/use-package | |
parent | 671e5d9fad5852165f4e63992c91cd6f8c715004 (diff) | |
download | emacs-b80f36b88c76b8f8ce3f2e6f9bd56aa2ccbe7b39.tar.gz emacs-b80f36b88c76b8f8ce3f2e6f9bd56aa2ccbe7b39.tar.bz2 emacs-b80f36b88c76b8f8ce3f2e6f9bd56aa2ccbe7b39.zip |
Make c-ts-mode-set-style's effect local (bug#61245)
Now c-ts-mode-set-style's effect is local, and there is a new function
c-ts-mode-set-global-style that changes the global setting.
* lisp/progmodes/c-ts-mode.el:
(c-ts-mode--indent-style-setter): Use c-ts-mode-set-style.
(c-ts-mode-indent-style)
(c-ts-mode--prompt-for-style): Minor change in docstring.
(c-ts-mode-set-global-style): New function (from c-ts-mode-set-style).
(c-ts-mode-set-local-style): Remove function (became c-ts-mode-set-style).
(c-ts-mode-set-style): Renamed from c-ts-mode-set-local-style.
* test/lisp/progmodes/c-ts-mode-resources/indent-bsd.erts:
* test/lisp/progmodes/c-ts-mode-resources/indent.erts: Use
c-ts-mode-set-style.
Diffstat (limited to 'lisp/use-package')
0 files changed, 0 insertions, 0 deletions