mu-scm: add options, some tweaks

Add the (options) procedure + docs.

Some internal tweaks / clean-ups.
This commit is contained in:
Dirk-Jan C. Binnema
2025-06-20 20:31:32 +03:00
parent e647ca924d
commit 812d78be49
7 changed files with 74 additions and 30 deletions

View File

@ -261,6 +261,7 @@ I.e., the information from @code{mu cfind}
@menu
* Store:: the database of all information
* Message:: inspecting individual messages
* Miscellaneous:: other functions
* Helpers:: some helper functions
@end menu
@ -599,6 +600,19 @@ For example:
@c billion-dollar startup on it), but it can be useful for development and
@c debugging.
@node Miscellaneous
@section Miscellaneous
@deffn {Scheme Procedure} options
@end deffn
This yields an association-list (alist) of general options passed to @command{mu
scm}. Values at @t{#f} indicate that the value is at its default.
@lisp
(options)
=> ((mu-home . #f) (quiet . #f) (debug . #f) (verbose . #f))
@end lisp
@node Helpers
@section Helpers