auctex-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

XEmacs code remainder in font-latex.el


From: Arash Esbati
Subject: XEmacs code remainder in font-latex.el
Date: Sun, 08 Dec 2019 00:21:32 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50

Hi all,

when building AUCTeX, the compiler complains about:

    In end of data:
    font-latex.el:2239:1:Warning: the following functions are not known to be
        defined: face-property-instance, set-face-property

Looking at the code, they are in `font-latex-setup':

    (defun font-latex-setup ()
      "Setup this buffer for LaTeX font-lock.  Usually called from a hook."
      (font-latex-set-syntactic-keywords)
      ;; Trickery to make $$ fontification be in `font-latex-math-face' while
      ;; strings get whatever `font-lock-string-face' has been set to.
      (when (fboundp 'built-in-face-specifiers)
        ;; Cool patch from Christoph Wedler...
        (let (instance)
          (mapc (lambda (property)
                  (setq instance
                        (face-property-instance 'font-latex-math-face property
                                                nil 0 t))
                  (if (numberp instance)
                      (setq instance
                            (face-property-instance 'default property nil 0)))
                  (or (numberp instance)
                      (set-face-property 'font-lock-string-face property
                                         instance (current-buffer))))
                (built-in-face-specifiers))))
      ...

I'm not sure but the entire (when (fboundp 'built-in-face-specifiers)
clause is XEmacs related, right?  Can someone with XEmacs installed on
HD confirm?  Then we can remove it.

TIA.  Best, Arash




reply via email to

[Prev in Thread] Current Thread [Next in Thread]