(tex--prettify-symbols-compose-p): Don't compose in verbatim blocks!
* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Don't compose inside verbatim blocks!
This commit is contained in:
parent
c37ef7546d
commit
2d19f8c8b4
1 changed files with 2 additions and 0 deletions
|
@ -3410,6 +3410,8 @@ There might be text before point."
|
|||
(not (or
|
||||
;; Don't compose \alpha@foo.
|
||||
(eq after-syntax ?_)
|
||||
;; Don't compose inside verbatim blocks!
|
||||
(nth 8 (syntax-ppss))
|
||||
;; The \alpha in \alpha2 may be composed but of course \alphax may not.
|
||||
(and (eq after-syntax ?w)
|
||||
(or (< after-char ?0)
|
||||
|
|
Loading…
Add table
Reference in a new issue