- if [ -n "$mhaltmsg" ]
- then
- anno -nodate -component 'mhaltmsg' -text "$mhaltmsg" $mhmetafile
- fi
- if [ -n "$mhdist" ]
- then
- anno -nodate -component 'mhdist' -text "$mhdist" $mhmetafile
- fi
- if [ -n "$mhfolder" ]
- then
- anno -nodate -component 'mhfolder' -text "$mhfolder" $mhmetafile
- fi
- if [ -n "$mhmessages" ]
- then
- anno -nodate -component 'mhmessages' -text "$mhmessages" $mhmetafile
- fi
- if [ -n "$mhannotate" ]
- then
- anno -nodate -component 'mhannotate' -text "$mhannotate" $mhmetafile
- fi
- set_lasteditor "$mheditor"
- exec $mheditor $mhdraft
+ save_config mmh-mhaltmsg "$mhaltmsg"
+ save_config mmh-mhdist "$mhdist"
+ save_config mmh-mhfolder "$mhfolder"
+ save_config mmh-mhmessages "$mhmessages"
+ save_config mmh-mhannotate "$mhannotate"
+ save_config mmh-last-editor "$mheditor"
+ exec $mheditor "$mhdraft"