lib: clean up mu_msg_to_sexp API

move out the QueryMatch
This commit is contained in:
Dirk-Jan C. Binnema
2021-01-29 22:39:21 +02:00
parent e5a52e45fd
commit 72fdfec3eb
5 changed files with 89 additions and 68 deletions

View File

@ -50,7 +50,7 @@ using namespace Mu;
static gboolean
view_msg_sexp (MuMsg *msg, const MuConfig *opts)
{
::fputs(msg_to_sexp(msg,0,{}, mu_config_get_msg_options(opts))
::fputs(msg_to_sexp(msg,0, mu_config_get_msg_options(opts))
.to_sexp_string(). c_str(), stdout);
return TRUE;
}