]> git.eshelyaron.com Git - emacs.git/commit
Revert part of 59732a83c8 to fix bug#52969
authorStefan Monnier <monnier@iro.umontreal.ca>
Mon, 3 Jan 2022 20:04:12 +0000 (15:04 -0500)
committerStefan Monnier <monnier@iro.umontreal.ca>
Mon, 3 Jan 2022 20:04:12 +0000 (15:04 -0500)
commit460f35e96df1c39ce2ba0f424b36365a2f9e9825
tree28398a961fccf9538114174b32d96f5dd918043a
parentab5ee3e29e916d4009b301841e9780aad564a6a0
Revert part of 59732a83c8 to fix bug#52969

While we don't need to put docstrings of .elc files into etc/DOC,
we still need to put those of `loaddefs.el` there since we don't have
a "dynamic docstring" feature for the non-compiled files and keeping
the actual docstrings in the heap would be prohibitive.

* src/Makefile.in ($(etc)/DOC): Scan `lisp/loaddefs.el` still.

* lib-src/make-docfile.c (scan_lisp_file): New function.
(scan_file): Use it.
(skip_white, read_lisp_symbol, search_lisp_doc_at_eol): New functions.
lib-src/make-docfile.c
src/Makefile.in