summaryrefslogtreecommitdiff
path: root/src/geiser/doc.scm
AgeCommit message (Collapse)Author
2024-03-14Allow processing of texinfo in docstrings.Tomas Volf
This commit adds support for processing texinfo in docstrings. That allows using texinfo in them while still having readable, nicely formatted plain text representation in geiser-doc-symbol-at-point. Fixes #43. * geiser-guile.el (geiser-guile-doc-process-texinfo): New custom controlling the behavior. (geiser-guile-update-doc-process-texinfo): New procedure to apply change of the controlling custom to a current REPL. (geiser-guile--startup): Call it. * geiser-guile.texi (Start up): Document the custom. * src/geiser/doc.scm (%process-texinfo?): New variable. (try-texinfo->plain-text): New procedure. (docstring): Call it on doc iff doc.
2022-07-19Equivalent fix to the previous fix that reflects original intentjao
program-arities is expected (in its only usage a few lines below its definition) to return #f if program-address-range doesn't return anything useful, and i was incorrectly using when instead of and for that.
2022-07-17Fix bug where 'program-arities' returns #<unspecified> (issue #23)VCGS40Y
program-arities now returns an empty list if no arities information is found. This fixes the bug that happens when calling, say, `(autodoc '(display))`, which leads to following error: ``` scheme@(guile-user)> (autodoc '(display)) ice-9/boot-9.scm:1669:16: In procedure raise-exception: In procedure map: Wrong type argument: #<unspecified> Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> ,q ```
2020-07-20geiser -> srcjao