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

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

Re: [prettify-symbols-mode] Two consecutive matches don't work?


From: Joost Kremers
Subject: Re: [prettify-symbols-mode] Two consecutive matches don't work?
Date: Wed, 18 May 2022 22:01:37 +0200
User-agent: mu4e 1.6.10; emacs 28.1.50

On Wed, May 18 2022, Robert Pluim wrote:
>>>>>> On Wed, 18 May 2022 14:56:53 +0300, Eli Zaretskii <eliz@gnu.org> said:
[helpful info]

Thanks Eli & Robert. I didn't realise the importance of
prettify-symbols-compose-predicate. 

> You could even generalize it to:
>
> (setq prettify-symbols-alist '(("&lt;" . "<"))
>       prettify-symbols-compose-predicate
>       (lambda (s e m)
>         t))

  (setq prettify-symbols-compose-predicate #'always)

:-)


-- 
Joost Kremers
Life has its moments



reply via email to

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