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

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

Associating an empty replacement value for "\cr"


From: fatiparty
Subject: Associating an empty replacement value for "\cr"
Date: Tue, 11 Jan 2022 20:49:19 +0100 (CET)


-- 
 Sent with Tutanota, the secure & ad-free mailbox. 



Jan 12, 2022, 07:39 by tsdh@gnu.org:

> fatiparty--- via Users list for the GNU Emacs text editor 
> <help-gnu-emacs@gnu.org> writes:
>
>> (defun prettify-symbols-cluster ()
>>   "Set keywords and corresponding glyph."
>>   (setq-local prettify-symbols-alist texsym-cluster)
>>   (setq prettify-symbols-compose-predicate 'texsym-predicate))
>>
>
> Ah, so for usage in `prettify-symbols-alist'.  I guess you could use a
> zero-width space as replacement, i.e., ?\N{ZERO WIDTH SPACE}.
>
> Bye,
> Tassilo
>
Would this be the exact code?

     ("\\cr" . ?\N{ZERO WIDTH SPACE})



reply via email to

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