[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch: perform autoloading when docs is missing from autoload object
From: |
Stefan Monnier |
Subject: |
Re: Patch: perform autoloading when docs is missing from autoload object |
Date: |
Wed, 15 Sep 2021 14:14:32 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> loads libraries when symbol is not loaded. I would actually prefer to just
> load
> documentation not the entire library, and I think I can do that, but it is a
> little bit more involved (have to find source and read the docs), unlike just
> performing autoloading.
Loading a docstring from the .el file can be tricky/cumbersome (at
least if we want it to be reliable and 100% correct), but as for loading
a docstring from a .elc file this is standard (its controlled by
the variable `byte-compile-dynamic-docstrings`), although currently it
seems it's not done for autoloads.
Stefan