diff options
author | Kevin McCarthy <kevin@8t8.us> | 2018-12-08 15:15:56 -0800 |
---|---|---|
committer | Kevin McCarthy <kevin@8t8.us> | 2018-12-08 15:15:56 -0800 |
commit | e525bc08ca86c3006f696fb823613c42eb333623 (patch) | |
tree | dac6a3e8dbe0de50955ce0c2dd47d99ee15cfa0c /globals.h | |
parent | 7f1febf6cf0ec70c2a7857eaf2bd44d2c59ee5f1 (diff) |
Add $auto_subscribe variable.
When set, it automatically subscribes to mailing lists found in
List-Post headers.
This commit is based on Michael Elkins's patch from the thread
<https://marc.info/?l=mutt-users&m=127076105423565&w=2>.
I've added an opt-in variable $auto_subscribe and a hash table cache
to speed up reading headers when the variable is set.
Diffstat (limited to 'globals.h')
-rw-r--r-- | globals.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -170,6 +170,7 @@ WHERE const char *ReleaseDate; WHERE HASH *Groups; WHERE HASH *ReverseAlias; +WHERE HASH *AutoSubscribeCache; WHERE LIST *AutoViewList INITVAL(0); WHERE LIST *AlternativeOrderList INITVAL(0); |