[Top][All Lists]

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

Re: Dynamic loading progress

From: Stefan Monnier
Subject: Re: Dynamic loading progress
Date: Sun, 06 Jul 2014 21:19:58 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.4.50 (gnu/linux)

> The doc member of a subr struct is not a pointer to the doc string but
> an offset in the build global doc file (Vfile_doc_name aka etc/DOC).
> This saves memory but since we now have multiple doc files it doesn't
> work. If you update Vfile_doc_name to the module's doc file,
> Fdocumentation will only work on this module's functions.

The `doc' field could simply be changed to be of type Lisp_Object and
then follow the usual representation used for lambda expressions
and variables where it can be:
- a single integer: an offset into the one true DOC file.
- a cons (FILE . OFFSET): says that the doc can be found in FILE starting
  at OFFSET.
- a string.


reply via email to

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