diff options
| author | Alan Mackenzie | 2023-11-26 12:25:30 +0000 |
|---|---|---|
| committer | Alan Mackenzie | 2023-11-26 12:25:30 +0000 |
| commit | 6a01a1a856f859e1cdb593e2cc0833b844b077be (patch) | |
| tree | dc3cea0c00a9cd759b9e7c2a5025dd49be8961dd /java/org/gnu | |
| parent | e5a9f3371d15a0d0e35178c26caf32f76ff83ade (diff) | |
| download | emacs-6a01a1a856f859e1cdb593e2cc0833b844b077be.tar.gz emacs-6a01a1a856f859e1cdb593e2cc0833b844b077be.zip | |
.elc format: Record lambdas' doc strings lazily, not inline
Also refactor the pertinent part of bytecomp.el.
* lisp/emacs-lisp/bytecomp.el (byte-compile-output-file-form):
Use byte-compile-output-docform for all forms, not just those
with doc strings.
(byte-compile--output-docform-recurse): New function extracted
from byte-compile-output-docform. This function recurses on
functions contained in the constants vector.
(byte-compile-output-docform): Extract parameter DOCINDEX from
the INFO list. Add parameter CVECINDEX, the index of the
constants vector in FORM.
(byte-compile-file-form-defmumble): Several detailed
refactorings. Call byte-compile-output-docform with the new
interface.
(byte-compile-output-as-comment): On exit, leave point after
the inserted text. No longer assume that the output is being
inserted at the end of the buffer.
Diffstat (limited to 'java/org/gnu')
0 files changed, 0 insertions, 0 deletions