bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61245: 29.0.60; Should c-ts-mode-set-style be local by default?


From: Yuan Fu
Subject: bug#61245: 29.0.60; Should c-ts-mode-set-style be local by default?
Date: Sat, 4 Feb 2023 15:34:14 -0800


> On Feb 2, 2023, at 11:41 PM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> From: Yuan Fu <casouri@gmail.com>
>> Date: Thu, 2 Feb 2023 18:45:31 -0800
>> 
>> Normally this sort of function only affect the current buffer.
>> c-set-style only sets the style for the current buffer, too. I wonder if
>> we should make c-ts-mode-set-style default to local, too?
> 
> Yes, the style is a buffer-local setting.

Ok, I pushed a change that made c-ts-mode-set-style buffer-local, and added 
c-ts-mode-set-global-style.

Yuan




reply via email to

[Prev in Thread] Current Thread [Next in Thread]