diff options
author | Thomas Roessler <roessler@does-not-exist.org> | 2000-03-04 08:40:52 +0000 |
---|---|---|
committer | Thomas Roessler <roessler@does-not-exist.org> | 2000-03-04 08:40:52 +0000 |
commit | 7ae761e43f25a15c8e6454a54da72485905f2efa (patch) | |
tree | 25d45d9cb922718cd56779208134d75b27eb5a76 /headers.c | |
parent | cfb89eef785162738d27eec2927ed327e34b4de8 (diff) |
Unify alias expansion.
Diffstat (limited to 'headers.c')
-rw-r--r-- | headers.c | 9 |
1 files changed, 2 insertions, 7 deletions
@@ -101,13 +101,8 @@ void mutt_edit_headers (const char *editor, mutt_free_envelope (&msg->env); msg->env = n; - msg->env->from = mutt_expand_aliases (msg->env->from); - msg->env->to = mutt_expand_aliases (msg->env->to); - msg->env->cc = mutt_expand_aliases (msg->env->cc); - msg->env->bcc = mutt_expand_aliases (msg->env->bcc); - msg->env->reply_to = mutt_expand_aliases (msg->env->reply_to); - msg->env->mail_followup_to = mutt_expand_aliases (msg->env->mail_followup_to); - + mutt_expand_aliases_env (msg->env); + /* search through the user defined headers added to see if either a * fcc: or attach-file: field was specified. */ |