emacs-devel
[Top][All Lists]
Advanced

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

Re: [Emacs-diffs] master ff2f35f: Add TeX defaults for prettify-symbol-m


From: Tassilo Horn
Subject: Re: [Emacs-diffs] master ff2f35f: Add TeX defaults for prettify-symbol-mode
Date: Fri, 21 Aug 2015 20:04:45 +0200
User-agent: Gnus/5.130014 (Ma Gnus v0.14) Emacs/25.0.50 (gnu/linux)

Stefan Monnier <address@hidden> writes:

>> I don't understand.  Should `prettify-symbols-compose-predicate' not
>> be buffer-local by default but instead one should use
>
> I don't have an opinion on whether it should be "automatically
> buffer-local" or not, but:

I left it automatically buffer-local in order not to cause issues when a
user wants to use his own predicate and uses `setq'.

>>   (add-function :override (local 'prettigy-symbols-compose-predicate)
>>                 #'tex--prettify-symbols-compose-p)
>
> Yes, that's what I meant (tho with "prettigy" => "prettify", of
> course)

Don't prohibit my creativity!

I'll push it anytime soon together with the etc/NEWS entry.

Bye,
Tassilo



reply via email to

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