On 2016-02-27, at 19:42, Marcin Borkowski <[email protected]> wrote:

> Man, I *am* stupid and impatient.  Please consider my questions
> nonexistent.

Hi,

so it seems not that simple.

Here's what tex.el contains:

--8<---------------cut here---------------start------------->8---
(when (and (boundp 'tex--prettify-symbols-alist)
           (boundp 'prettify-symbols-compose-predicate))
  (defun TeX--prettify-symbols-compose-p (start end match)
    (and (tex--prettify-symbols-compose-p start end match)
         (not (let ((face (get-text-property end 'face)))
                (if (consp face)
                    (memq 'font-latex-verbatim-face face)
                  (eq face 'font-latex-verbatim-face)))))))
--8<---------------cut here---------------end--------------->8---

However, `tex--prettify-symbols-alist' is defined in tex-mode.el, which
seems not to be loaded at the time tex.el is loaded.  IOW, the defun
form is not evaluated.

What should I do?  I can (require 'tex-mode) manually in my init.el (and
this is what I do now), but this I consider an ugly workaround.  I'm
tempted to think this issue is a bug.

(AUCTeX version: auctex-11.89.1, from Elpa.)

Best,

-- 
Marcin Borkowski
http://octd.wmi.amu.edu.pl/en/Marcin_Borkowski
Faculty of Mathematics and Computer Science
Adam Mickiewicz University

_______________________________________________
auctex mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/auctex

Reply via email to