From 558ce78435ff49a6bdf02cba5fe0c90dbd35748d Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Thu, 9 Oct 2008 12:31:31 +0200 Subject: [PATCH 1/1] fix edit-header macro generation --- .mutt/edit-header | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/.mutt/edit-header b/.mutt/edit-header index c87717a..07817d2 100755 --- a/.mutt/edit-header +++ b/.mutt/edit-header @@ -60,9 +60,12 @@ case "$0" in esac -echo "set my_editor=\"\$editor\'" -echo "set editor=\"$editor\"" -#echo "push " -echo "push " -# we need to push this so it happens after the editing -echo "push :set editor=\"\$my_editor\"" +echo "set my_editor=\"\$editor\"" +echo "set my_filter=\"$editor\"" +echo -n "push '" +echo -n "set editor=\"\$my_filter\"" +echo -n "" +echo -n "set editor=\"\$my_editor\"" +echo -n "unset my_filter" +echo -n "unset my_editor" +echo "'" -- 2.39.5