mirror of
git://git.sv.gnu.org/emacs.git
synced 2025-12-15 18:40:39 -08:00
Support lazy loading for autogenerated usage docstrings too (Bug#27748)
* lisp/emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble): Consider any documentation that ended up in code as a docstring (e.g., autogenerated (fn ARG1 ARG2) type things), not just what the user passed.
This commit is contained in:
parent
bc5d96a0b2
commit
160295867d
1 changed files with 1 additions and 1 deletions
|
|
@ -2569,7 +2569,7 @@ not to take responsibility for the actual compilation of the code."
|
|||
(let ((index
|
||||
;; If there's no doc string, provide -1 as the "doc string
|
||||
;; index" so that no element will be treated as a doc string.
|
||||
(if (not (stringp (car body))) -1 4)))
|
||||
(if (not (stringp (documentation code t))) -1 4)))
|
||||
;; Output the form by hand, that's much simpler than having
|
||||
;; b-c-output-file-form analyze the defalias.
|
||||
(byte-compile-output-docform
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue