Commit e7a22c42 e7a22c4230d150f591b25ac13350da494d1da4b3 by Sergey Poznyakoff

Bugfix in mh_whatnow

* mh/mh_whatnow.c (edit): Disable command expansion in wordsplit.
See also 491bec23.
1 parent 453cd17f
......@@ -424,7 +424,8 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs)
if (mu_wordsplit (ed, &ws,
MU_WRDSF_QUOTE
| MU_WRDSF_SQUEEZE_DELIMS
| MU_WRDSF_ENV))
| MU_WRDSF_ENV
| MU_WRDSF_NOCMD))
{
mu_error (_("cannot split line `%s': %s"), ed,
mu_wordsplit_strerror (&ws));
......