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 21:01:50 +0100 (CET)

Jan 12, 2022, 07:49 by help-gnu-emacs@gnu.org:

>
> 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})
>
Ok, I found it in the Elisp Manual {2.4.3.2 General Escape Syntax}.


reply via email to

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