|
From: | Tassilo Horn |
Subject: | Re: tex-mode prettify-symbols-alist for ("\\cos" . ?cos) |
Date: | Sun, 14 Feb 2021 00:38:31 +0100 |
User-agent: | mu4e 1.5.8; emacs 28.0.50 |
pietru@caramail.com writes: > I want to prettify "\cos" to be "cos". Have used ("\\cos" . ?cos) > but this gives > > Invalid read syntax: ? That's because ?cos is no character. ?c would be. The replacements of `prettify-symbols-alist' must be characters (or something being valid input for `compose-region's 3rd parameter). Bye, Tassilo
[Prev in Thread] | Current Thread | [Next in Thread] |