diff options
author | Mattias EngdegÄrd <mattiase@acm.org> | 2022-08-06 13:38:12 +0200 |
---|---|---|
committer | Mattias EngdegÄrd <mattiase@acm.org> | 2022-08-07 10:25:03 +0200 |
commit | c46863d9bb8493d0d15030df863d78b8f1738b2e (patch) | |
tree | f395533ce64405e1e028a25261b844ec4b88b232 /test/src/lread-resources/lazydoc.el | |
parent | 6fd4ab250b690736e706245106f396cc93f3f5f0 (diff) | |
download | emacs-c46863d9bb8493d0d15030df863d78b8f1738b2e.tar.gz emacs-c46863d9bb8493d0d15030df863d78b8f1738b2e.tar.bz2 emacs-c46863d9bb8493d0d15030df863d78b8f1738b2e.zip |
Make force-load-doc-strings work again
When load-force-doc-strings is true, read (#$ . POS) as the (unibyte)
string referred to. This feature was lost by mistake in the recent
nonrecursive reader rewrite.
Noticed by Stefan Monnier.
* src/lread.c (get_lazy_string): New function (code mostly recycled
from an old version).
(read0): Detect (#$ . FIXNUM) and retrieve the string if appropriate.
* test/src/lread-resources/lazydoc.el:
* test/src/lread-tests.el (lread-force-load-doc-strings):
New test.
Diffstat (limited to 'test/src/lread-resources/lazydoc.el')
-rw-r--r-- | test/src/lread-resources/lazydoc.el | bin | 0 -> 171 bytes |
1 files changed, 0 insertions, 0 deletions
diff --git a/test/src/lread-resources/lazydoc.el b/test/src/lread-resources/lazydoc.el Binary files differnew file mode 100644 index 00000000000..cb434c239b5 --- /dev/null +++ b/test/src/lread-resources/lazydoc.el |