[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [AUCTeX] Suppressing compiler warnings
From: |
Arash Esbati |
Subject: |
Re: [AUCTeX] Suppressing compiler warnings |
Date: |
Fri, 07 Dec 2018 00:59:23 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/26.1 |
Ikumi Keita <address@hidden> writes:
>>>>>> Arash Esbati <address@hidden> writes:
>
>> sure, you're welcome. I stumbled over it as I was looking at the
>> compiler warnings after rebuilding AUCTeX. From the ones issued by the
>> style files, I think 90% can be avoided by adding these lines to the
>> relevant styles:
>
>> (declare-function font-latex-add-keywords
>> "font-latex"
>> (keywords class))
>
>> Another 5% by these lines:
>
>> (defvar font-latex-syntactic-keywords-extra)
>> (declare-function font-latex-update-font-lock
>> "font-latex"
>> (&optional syntactic-kws))
>
>> WDYT, is it worth the effort? (No, I'm not asking you to do it ;-)
>
> It will significantly improve S/N ratio in the make log. I think it's
> worth doing.
Hi Keita,
thanks for your response. I pushed 2 change sets to AUCTeX repo which
silence the compiler warnings for `font-latex-update-font-lock' and
`font-latex-add-keywords'. I will try to look at the other warnings as
time permits.
Best, Arash