Quote notmuch rules to account for spaces.
This commit is contained in:
parent
321eca38e2
commit
fbe7dade54
@ -158,7 +158,7 @@ fn notmuch_from_rules<W: Write>(mut w: W, rules: &[Rule]) -> anyhow::Result<()>
|
|||||||
lines.push(format!(
|
lines.push(format!(
|
||||||
// TODO(wathiede): this assumes `notmuch new` is configured to add
|
// TODO(wathiede): this assumes `notmuch new` is configured to add
|
||||||
// `tag:unprocessed` to all new mail.
|
// `tag:unprocessed` to all new mail.
|
||||||
"-unprocessed +{} -- tag:unprocessed {}{}",
|
r#"-unprocessed +{} -- tag:unprocessed {}"{}""#,
|
||||||
t,
|
t,
|
||||||
match m.match_type {
|
match m.match_type {
|
||||||
MatchType::From => "from:",
|
MatchType::From => "from:",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user