diff options
author | Jason Cox <me@jasoncarloscox.com> | 2024-02-12 22:27:19 -0500 |
---|---|---|
committer | Robin Jarry <robin@jarry.cc> | 2024-02-14 23:20:46 +0100 |
commit | 2927516175b7d92f2b4a271cce05d0ded0302f8a (patch) | |
tree | 22a6c662bd5fbafeaf4b72f2ec66045e13f72054 /LICENSE | |
parent | 19d270886e3abc7468d21f11145d75974320f933 (diff) | |
download | aerc-2927516175b7d92f2b4a271cce05d0ded0302f8a.tar.gz |
binds: allow account and folder binds to coexist
When loading binds, account-specific binds are first applied, and then
folder-specific binds are applied. However, in the process of merging
the account-specific binds with the general binds, the folder-specific
binds are lost. As a result, if both account- and folder-specific binds
exist, the folder-specific binds will do nothing when in the specified
account. The following minimal binds.conf reproduces this behavior:
[messages]
[messages:account=<ACCOUNT>]
[messages:folder=<FOLDER>]
q = :quit<Enter>
Fix this issue by ensuring contextual binds are preserved when merging.
Changelog-fixed: Allow account- and folder-specific binds to coexist.
Signed-off-by: Jason Cox <me@jasoncarloscox.com>
Acked-by: Robin Jarry <robin@jarry.cc>
Diffstat (limited to 'LICENSE')
0 files changed, 0 insertions, 0 deletions