Subject: Re: bug#62220: In-buffer completion and LaTeX-math-cal

From: Arash Esbati <[email-masked]>
Date: Fri, 17 Mar 2023 10:43:23 +0100

Hi Tassilo,

Tassilo Horn <[email-masked]> writes:

> TeX-complete-list contains an entry
>
>    (LaTeX--after-math-macro-prefix-p 1
>                                    (lambda nil
>                                      (append
>                                       (mapcar #'cadr LaTeX-math-list)
>                                       (mapcar #'cadr LaTeX-math-default)))
>                                    (if TeX-insert-braces "{}"))
>
> (see latex.el:8074) and LaTeX-math-default contains an entry where the
> cadr is the symbol LaTeX-math-cal.  I guess, there should be a
> (seq-filter #'stringp ...)  around the (append ...).

Thanks, that was the right hint.  I installed a change (2a65fac9b1)
using your suggestion above.  Closing this issue.

Best, Arash