emacs-devel
[Top][All Lists]
Advanced

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

Re: Wrong file mentioned for variable definition


From: Richard Stallman
Subject: Re: Wrong file mentioned for variable definition
Date: Sat, 22 Dec 2007 16:08:16 -0500

    In today's CVS on the Emacs 22 branch, "C-h v file-name-history RET"
    brings this:

      file-name-history is a variable defined in `files.el'.

    But in fact file-name-history is defined in fileio.c, while files.el
    has only a defvar for it, presumably to avoid a warning from the byte
    compiler.

The real definition is in files.el because that's where it gets the
doc string.  fileio.c just creates the symbol and sets it to nil;
it does not define it as a variable.

So the help command is giving you correct info.

If you want to change this to do the defvar in fileio.c instead,
that is ok with me.





reply via email to

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