From 309e146dba25dcbef944c5d44be1b9a191262047 Mon Sep 17 00:00:00 2001 From: "martin f. krafft" Date: Sun, 26 Aug 2007 20:28:57 +0200 Subject: [PATCH] fix quoting issues when replacing the editor and restoring the setting --- keybindings | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.39.2