Arash Esbati <> writes:

> Alex Branham <> writes:
>> It seems that didn't quite help. I'm still getting a lot of errors that look 
>> like this:
>> Error during redisplay: (jit-lock-function 2855) signaled 
>> (wrong-type-argument integer-or-marker-p nil)
>> Error during redisplay: (jit-lock-function 10261) signaled (void-function 
>> :super)
> Can you please restart Emacs, eval this in scratch
>     (setq font-latex-fontify-script nil)
> and open your .tex file again?

Following up myself, I think I found the problem.  I installed this
patch which replaces `case' macro from `cl' with `cl-case' from

Can you please update your repo, compile the files and try it again?

--8<---------------cut here---------------start------------->8---
diff --git a/font-latex.el b/font-latex.el
index 1df751a..b3ab6f7 100644
--- a/font-latex.el
+++ b/font-latex.el
@@ -2023,7 +2023,7 @@ END marks boundaries for searching for quotation ends."
 (defun font-latex--get-script-props (pos script-type)
   (let* ((old-raise (or (plist-get (get-text-property pos 'display) 'raise) 
         (new-level (1+ (or (get-text-property pos 'script-level) 0)))
-        (disp-props (copy-sequence (case script-type
+        (disp-props (copy-sequence (cl-case script-type
                                      (:super (cdr font-latex-script-display))
                                      (:sub   (car 
         (new-disp-props (let ((raise (plist-get disp-props 'raise))
@@ -2041,7 +2041,7 @@ END marks boundaries for searching for quotation ends."
                                                   (* nl nl 
     `(face ,(if (<= new-level font-latex-fontify-script-max-level)
-               (case script-type
+               (cl-case script-type
                  (:super 'font-latex-superscript-face)
                  (:sub   'font-latex-subscript-face))
--8<---------------cut here---------------end--------------->8---

Best, Arash

auctex-devel mailing list

Reply via email to