* lisp/textmodes/tex-mode.el (tex--prettify-symbols-compose-p): Use
syntax-ppss data to identify verbatim contents.
(not (memq after-char
'(?0 ?1 ?2 ?3 ?4 ?5 ?6 ?7 ?8 ?9 ?+ ?- ?' ?\"))))
;; Don't compose inside verbatim blocks.
- (let* ((face (get-text-property end 'face))
- (faces (if (consp face) face (list face))))
- (or (memq 'tex-verbatim faces)
- (memq 'font-latex-verbatim-face faces)))))))
+ (eq 2 (nth 7 (syntax-ppss)))))))
(run-hooks 'tex-mode-load-hook)