[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: defcustoms in styles
From: |
Ikumi Keita |
Subject: |
Re: defcustoms in styles |
Date: |
Sat, 18 Jan 2020 14:57:37 +0900 |
>>>>> Arash Esbati <address@hidden> writes:
> For the start, is there any particular reason for shortvrb.el containing
> the variable? I don't see one. The way I see it `LaTeX-shortvrb-chars'
> can be moved to tex-style.el.
I don't see, either. I think it's OK to move it to tex-style.el.
By the way, following code in `TeX-add-style-hook' part seems a bit
strange to me:
----------------------------------------------------------------------
(when (and LaTeX-shortvrb-chars
(fboundp 'font-latex-set-syntactic-keywords)
(eq TeX-install-font-lock 'font-latex-setup))
(font-latex-add-to-syntax-alist
[...]
----------------------------------------------------------------------
I think this `fboundp' test is a mistake of
(fboundp 'font-latex-add-to-syntax-alist)
. And if we modify the code in this way, `declare-function' about
`font-latex-add-to-syntax-alist' in the former half of this file can be
omitted.
Regards,
Ikumi Keita