diff options
author | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-09-12 23:02:06 +0300 |
---|---|---|
committer | Manos Pitsidianakis <el13635@mail.ntua.gr> | 2020-09-12 23:02:06 +0300 |
commit | 20b02ffd4f9502e1e48960ee7d6232661e04b260 (patch) | |
tree | 4c5da220e8631d475475572cb19f7a9d22d8debb /src/conf.rs | |
parent | 06a58a70bd045b223497bd85d08ed42357d2d8fc (diff) |
Lookup tag color/ignore settings in all three setting levels
There are three setting levels for tag settings:
- per mailbox override ^
- per account override |
- global setting |
depth
So lookup in each of them in this order for configuration, not just the
deepest level.
Diffstat (limited to 'src/conf.rs')
-rw-r--r-- | src/conf.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/conf.rs b/src/conf.rs index 0706ca41..fe648cd6 100644 --- a/src/conf.rs +++ b/src/conf.rs @@ -78,7 +78,7 @@ macro_rules! split_command { } #[macro_export] -macro_rules! mailbox_acc_settings { +macro_rules! account_settings { ($context:ident[$account_hash:expr].$setting:ident.$field:ident) => {{ $context.accounts[&$account_hash] .settings |