[Top][All Lists]

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

Re: font-lock variables defined in reftex.el??

From: Carsten Dominik
Subject: Re: font-lock variables defined in reftex.el??
Date: 09 May 2001 10:10:46 +0200
User-agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.1 (Cuyahoga Valley)

Roland Winkler writes:

>> n GNU Emacs 20.4.1 (i686-pc-linux-gnu, X toolkit)
>>  of Fri Oct 29 1999 on tfkp02
>> configured using `configure  --prefix=/nfs/common 
>> --libexecdir=/nfs/common/lib --bindir=/nfs/common/lib/emacs/bin/i686-Linux 
>> --with-gcc --with-pop --with-x --with-x-toolkit=athena'
>> Not a big issue, but still annoying:
>> In reftex.el there is
>> (defvar TeX-master)
>> (defvar LaTeX-section-hook)
>> (defvar LaTeX-label-function)
>> (defvar tex-main-file)
>> (defvar outline-minor-mode)
>> (defvar font-lock-mode)
>> (defvar font-lock-fontify-region-function)
>> (defvar font-lock-syntactic-keywords)
>> So it happens that when I read the help pages for, say
>> font-lock-syntactic-keywords, it says
>> Defined in `reftex'.

I can easily take these out, but 2 or thress years ago, RMS
specifically told me to put them in in prder to make the compiler shut
up about undefined variables.  Back then he said,  this was the
official way to deal with this.

So I think this is really a problem in the compiler handling of
defvar without value argument.

- Carsten

reply via email to

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