Subject: [PATCH] Remove prettification for \par in TeX documents

From: Clément Pit-Claudel <[email-masked]>
Date: Sun, 15 Aug 2021 19:47:41 -0400

The attached patch disables prettification for \par in tex-mode.el.  The problem is that many fonts don't display anything for the character it was mapped to (#x2029 PARAGRAPH SEPARATOR), so enabling prettification makes every `\par' disappear.

>From 6e5d0371c657ed40496ddb6451a5ccd37f4887df Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Cl=C3=A9ment=20Pit-Claudel?= <[email-masked]>
Date: Sun, 15 Aug 2021 19:27:44 -0400
Subject: [PATCH] Remove prettification for \par

* lisp/textmodes/tex-mode.el (tex--prettify-symbols-alist): Remove
prettified version of `\par'.  Many fonts don't display anything for
the character it was mapped to (#x2029 PARAGRAPH SEPARATOR), so
enabling prettification makes every `\par' disappear.
---
 lisp/textmodes/tex-mode.el | 1 -
 1 file changed, 1 deletion(-)

diff --git a/lisp/textmodes/tex-mode.el b/lisp/textmodes/tex-mode.el
index d9d8059f96..6caa9c1b7d 100644
--- a/lisp/textmodes/tex-mode.el
+++ b/lisp/textmodes/tex-mode.el
@@ -3337,7 +3337,6 @@ tex--prettify-symbols-alist
     ("\\oplus" . ?⊕)
     ("\\oslash" . ?⊘)
     ("\\otimes" . ?⊗)
-    ("\\par" . ? )
     ("\\parallel" . ?∥)
     ("\\partial" . ?∂)
     ("\\perp" . ?⊥)
-- 
2.25.1