From: martin f. krafft Date: Sun, 26 Aug 2007 18:28:57 +0000 (+0200) Subject: fix quoting issues when replacing the editor and restoring the setting X-Git-Url: https://git.madduck.net/etc/mutt.git/commitdiff_plain/309e146dba25dcbef944c5d44be1b9a191262047 fix quoting issues when replacing the editor and restoring the setting --- diff --git a/keybindings b/keybindings index 0f8d1a1..418734b 100644 --- a/keybindings +++ b/keybindings @@ -33,7 +33,7 @@ macro index,pager Z "=retrain/ham" "retrain message as ham" macro index,pager \Cb ':set my_pipe_decode="$pipe_decode":set pipe_decode/usr/bin/urlview:set pipe_decode="$my_pipe_decode"' "invoke urlview" #TODO this is a hack until switch-profile does not readd headers. -#macro compose e ":set my_editor='$editor':set editor=sensible-editor:set editor='$my_editor'" "invoke normal editor to edit message" -#macro index,pager e ":set my_editor='$editor':set editor=sensible-editor:set editor='$my_editor'" "invoke normal editor to edit message" +macro compose e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" +macro index,pager e ':set my_editor="$editor":set editor=sensible-editor:set editor="$my_editor"' "invoke normal editor to edit message" # vim:sw=12:noet:sts=12:ts=12:ft=muttrc