diff options
| author | Spencer Baugh | 2025-07-22 12:13:15 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2025-09-13 10:33:20 +0300 |
| commit | 603a685ad109af1ccee3369770226f0e34b0c2e9 (patch) | |
| tree | 18eda86f63515f893e344051daf0fcbcdf5a0438 /src/bytecode.c | |
| parent | 9430638e48431015f33dfa12bbd26f45a727fb91 (diff) | |
| download | emacs-603a685ad109af1ccee3369770226f0e34b0c2e9.tar.gz emacs-603a685ad109af1ccee3369770226f0e34b0c2e9.zip | |
Allow disabling of reloading files on doc read failure
Reloading a byte-compiled file when we fail to fetch some
docstring in it is not guaranteed to work and can cause
subtle bugs which are worse than simply not having a
docstring. Add 'documentation-dynamic-reload' variable to
allow disabling this behavior. See the discussion in
https://lists.gnu.org/archive/html/emacs-devel/2025-08/msg00304.html
for more details.
* src/doc.c (syms_of_doc): Add 'documentation-dynamic-reload'.
(Fdocumentation, Fdocumentation_property): Check value of
'documentation-dynamic-reload'.
Diffstat (limited to 'src/bytecode.c')
0 files changed, 0 insertions, 0 deletions