auctex-devel
[Top][All Lists]
Advanced

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

Re: [AUCTeX-devel] font-latex.el [1/4]: Improve the code generated by fo


From: Arash Esbati
Subject: Re: [AUCTeX-devel] font-latex.el [1/4]: Improve the code generated by font-latex-make-match-defun
Date: Tue, 21 Feb 2017 23:30:11 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2

Hi Keita,

Ikumi Keita <address@hidden> writes:

first of all, a big thank you for diving into this and your profound
analysis.  font-latex.el is not my strongest point, but I think I
understood your findings and they make sense to me.  Maybe others could
confirm.  

I have a question reg. your patch and sorry if I'm missing something
here:

> diff --git a/font-latex.el b/font-latex.el
> --- a/font-latex.el
> +++ b/font-latex.el
> @@ -502,9 +502,9 @@
>                     ,(intern (concat prefix name "-keywords")))
>                    ;; `face' can be a face symbol, a form returning
>                    ;; a face symbol, or a list of face attributes.
> -                  (if (and (listp ,face) (functionp (car ,face)))
> -                      (eval ,face)
> -                    ,face)
> +                  ,(if (and (listp face) (fboundp (car face)))
> +                      face
> +                     `',face)
                      __^__
Why do you need this extra backtick here?

Best, Arash



reply via email to

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