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) ...@@ -424,7 +424,8 @@ edit (struct mh_whatnow_env *wh, int argc, char **argv, int *whs)
424 if (mu_wordsplit (ed, &ws, 424 if (mu_wordsplit (ed, &ws,
425 MU_WRDSF_QUOTE 425 MU_WRDSF_QUOTE
426 | MU_WRDSF_SQUEEZE_DELIMS 426 | MU_WRDSF_SQUEEZE_DELIMS
427 | MU_WRDSF_ENV)) 427 | MU_WRDSF_ENV
428 | MU_WRDSF_NOCMD))
428 { 429 {
429 mu_error (_("cannot split line `%s': %s"), ed, 430 mu_error (_("cannot split line `%s': %s"), ed,
430 mu_wordsplit_strerror (&ws)); 431 mu_wordsplit_strerror (&ws));
......